aboutsummaryrefslogtreecommitdiffstats
path: root/main/acpica
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-09-02 11:43:40 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-09-02 11:43:40 +0200
commitc4c4eea9d0f6f990ea1f85750cd004f2bb981e7f (patch)
treeec26faeb48662ab136cba77912f8083e32dbe28b /main/acpica
parentbd747e2661dfbb51578c10a88c53f537547b3018 (diff)
downloadaports-c4c4eea9d0f6f990ea1f85750cd004f2bb981e7f.tar.bz2
aports-c4c4eea9d0f6f990ea1f85750cd004f2bb981e7f.tar.xz
main/acpica: fix build on x86
Diffstat (limited to 'main/acpica')
-rw-r--r--main/acpica/APKBUILD12
-rw-r--r--main/acpica/disable-werror.patch10
2 files changed, 18 insertions, 4 deletions
diff --git a/main/acpica/APKBUILD b/main/acpica/APKBUILD
index 8d04840e5d..9ee661444a 100644
--- a/main/acpica/APKBUILD
+++ b/main/acpica/APKBUILD
@@ -14,7 +14,8 @@ subpackages="$pkgname-doc iasl"
# license was found here:
# http://acpica.org/downloads/unix_source_code.php
source="https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar.gz
- COPYING"
+ COPYING
+ disable-werror.patch"
builddir="$srcdir"/acpica-unix-$pkgver
@@ -38,8 +39,11 @@ iasl() {
md5sums="09d7d59b92ad41e1a5e4f6adb043513c acpica-unix-20160831.tar.gz
-7af813a48b9d1ce988aa72655f0fa61f COPYING"
+7af813a48b9d1ce988aa72655f0fa61f COPYING
+041de3f3d784d53d97da2491e1f9d03f disable-werror.patch"
sha256sums="daffe24291ff78dbcabff27fad325477b228cc04f9d68e1a7ae9e93e1ef8407e acpica-unix-20160831.tar.gz
-7d265c08321b2cc95e3facf1089b28563a8c2b9a6730a380fc456da988c7c9a6 COPYING"
+7d265c08321b2cc95e3facf1089b28563a8c2b9a6730a380fc456da988c7c9a6 COPYING
+0b368cfdd71390b139564eac079e0c3190f9acfe53247591494f616e0e752b59 disable-werror.patch"
sha512sums="2af6044adc9fcb63954c56bd4db4eabd2147132ba750a0255f5f2e51139f561c67d6daea5b25113e8c5c438f4db8082e8632be66dd21a471104d5b9d7604c5d6 acpica-unix-20160831.tar.gz
-7999047808e26bd83696cf11641a2ba99a986d89ac861cc95d79a9849d1ae1aef7eb107b1c472f1e886cf6556a78554ed6cc7af269b1e2671f3445d1a7ced268 COPYING"
+7999047808e26bd83696cf11641a2ba99a986d89ac861cc95d79a9849d1ae1aef7eb107b1c472f1e886cf6556a78554ed6cc7af269b1e2671f3445d1a7ced268 COPYING
+066643cdf1beaa0ba4747e4973d5cc7a83c1e9a24acc142fa1525d4f1340ff3a7133a9fff139abe0f409faed88d0e1479eed5ce14b82e37ff46e91a4421c2d4e disable-werror.patch"
diff --git a/main/acpica/disable-werror.patch b/main/acpica/disable-werror.patch
new file mode 100644
index 0000000000..70acc6e79b
--- /dev/null
+++ b/main/acpica/disable-werror.patch
@@ -0,0 +1,10 @@
+--- ./generate/unix/Makefile.config.orig
++++ ./generate/unix/Makefile.config
+@@ -185,7 +185,6 @@
+ -Wall\
+ -Wbad-function-cast\
+ -Wdeclaration-after-statement\
+- -Werror\
+ -Wformat=2\
+ -Wmissing-declarations\
+ -Wmissing-prototypes\