From 9310204a7068568e0dcde629fe9c8dd2043e602c Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Fri, 7 Mar 2014 23:08:48 +0000 Subject: [PATCH] wine: fixed patches failure --- wine/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wine/PKGBUILD b/wine/PKGBUILD index 8241008..ff60d61 100644 --- a/wine/PKGBUILD +++ b/wine/PKGBUILD @@ -2,7 +2,7 @@ pkgname=wine pkgver=1.7.13 -pkgrel=1 +pkgrel=2 _pkgbasever=${pkgver/rc/-rc} _pulsepatches=1.7.12 source=(http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$_pkgbasever.tar.bz2 @@ -97,10 +97,10 @@ prepare() { sed -i 's|lncurses|lncursesw|g' "$srcdir/$pkgname/configure" cd $pkgname - for _patch in $(ls $srcdir/winepulse-patches-$pkgver/*.patch) ; do # use this if patches come from gentoo + for _patch in $(ls $srcdir/winepulse-patches-$_pulsepatches/*.patch) ; do patch -Np1 -i $_patch done - + # These additional CPPFLAGS solve FS#27662 and FS#34195 export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0" }