summaryrefslogtreecommitdiffstats
path: root/main/wine/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/wine/APKBUILD')
-rw-r--r--main/wine/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/main/wine/APKBUILD b/main/wine/APKBUILD
index 289520043..8a8dd40e0 100644
--- a/main/wine/APKBUILD
+++ b/main/wine/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wine
pkgver=1.3.9
-pkgrel=0
+pkgrel=1
pkgdesc="A compatibility layer for running Windows programs"
url="http://www.winehq.com"
arch="x86"
@@ -12,12 +12,18 @@ makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev
libpng-dev jpeg-dev freetype-dev"
# lcms
source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2
- dn_skipname.patch"
+ dn_skipname.patch
+ iphlpapi-fix.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- patch -p1 -i "$srcdir"/dn_skipname.patch || return 1
+ for i in $source; do
+ case $i in
+ *.patch) patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -34,4 +40,5 @@ package() {
mkdir -p "$pkgdir"/etc/wine
}
md5sums="708862552219e1c97585b291ea7277c2 wine-1.3.9.tar.bz2
-6ebeaa64eddf97be3267db236ce84b71 dn_skipname.patch"
+6ebeaa64eddf97be3267db236ce84b71 dn_skipname.patch
+d3d0e26eb5b9937e5e1139597b6c3f5b iphlpapi-fix.patch"