summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMike Swanson2017-01-22 11:11:55 -0800
committerMike Swanson2017-01-22 11:11:55 -0800
commit2b38195cd7cd732069e65c9534f502a1283c599a (patch)
tree246ccf041f01574a3a018bbe1f9f3c9ff18b4cbd /PKGBUILD
parent80ba041d0cf293dca32bbc4e74c824ee4184b41c (diff)
downloadaur-2b38195cd7cd732069e65c9534f502a1283c599a.tar.gz
Fix build with flex 2.6.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da47ff380a8..b1008238655 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,13 +6,15 @@
pkgname=wine-stable
pkgver=1.8.6
-pkgrel=1
+pkgrel=2
source=(https://dl.winehq.org/wine/source/1.8/wine-$pkgver.tar.bz2{,.sign}
- 30-win32-aliases.conf)
+ 30-win32-aliases.conf
+ 0001-programs-winhlp32-Use-noyywrap-for-macro.lex.l.patch)
sha256sums=('b1797896eb3b63aab8a4753cc756d6211a0e85460146a1b52063ec79c13906d3'
'SKIP'
- '9901a5ee619f24662b241672a7358364617227937d5f6d3126f70528ee5111e7')
+ '9901a5ee619f24662b241672a7358364617227937d5f6d3126f70528ee5111e7'
+ 'da2f15457044a397483bbf52bf4e59f1000bf270ab823a0b8957e905a1a933f7')
validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D)
@@ -57,6 +59,14 @@ prepare() {
# Allow ccache to work
mv wine-$pkgver wine
+ for patch in ../*.patch; do
+ if [ ! -f "$patch" ]; then
+ break;
+ else
+ patch -d wine -p1 -i "$patch"
+ fi
+ done
+
sed 's|OpenCL/opencl.h|CL/opencl.h|g' -i wine/configure*
# These additional CPPFLAGS solve FS#27662 and FS#34195