aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-11 15:57:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-11 15:57:12 +0000
commit711677eed8f2978146a73ec4ff2afac7be6d9b2d (patch)
treebe157c4fc2086764ebeffea8e9f4e5f0e4c5ace8
parentda85ca277a6878be7b6a40d6904d52c522ed214d (diff)
downloadaports-711677eed8f2978146a73ec4ff2afac7be6d9b2d.tar.gz
aports-711677eed8f2978146a73ec4ff2afac7be6d9b2d.tar.bz2
aports-711677eed8f2978146a73ec4ff2afac7be6d9b2d.tar.xz
main/acpica: fix build on 32bit systems
-rw-r--r--main/acpica/APKBUILD3
-rw-r--r--main/acpica/disable-werror.patch13
2 files changed, 16 insertions, 0 deletions
diff --git a/main/acpica/APKBUILD b/main/acpica/APKBUILD
index eaa06f1b69..cc19d97317 100644
--- a/main/acpica/APKBUILD
+++ b/main/acpica/APKBUILD
@@ -11,9 +11,11 @@ depends=""
makedepends="flex bison"
install=""
subpackages="$pkgname-doc iasl"
+options="!check"
# license was found here:
# http://acpica.org/downloads/unix_source_code.php
source="https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar.gz
+ disable-werror.patch
COPYING
"
@@ -39,4 +41,5 @@ iasl() {
sha512sums="efe4e59b10e297f65828f2f397082920d4f171c8847057514b2c3982e4fac111a55a932de41f01d4b54bc7ea1022d3feb682b8fc2c51878410898ea1b5f7602b acpica-unix-20170303.tar.gz
+1f5049568d612d4debf3690e0d918d8d56abbed14ade7b2e6282eba17b25934b695d1a9fe10f99469efe8d4382c4546481d0579afdf5cdb9695fcdc93559fbab disable-werror.patch
7999047808e26bd83696cf11641a2ba99a986d89ac861cc95d79a9849d1ae1aef7eb107b1c472f1e886cf6556a78554ed6cc7af269b1e2671f3445d1a7ced268 COPYING"
diff --git a/main/acpica/disable-werror.patch b/main/acpica/disable-werror.patch
new file mode 100644
index 0000000000..da0c7c8889
--- /dev/null
+++ b/main/acpica/disable-werror.patch
@@ -0,0 +1,13 @@
+diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
+index a1f0313..8c4e8e7 100644
+--- a/generate/unix/Makefile.config
++++ b/generate/unix/Makefile.config
+@@ -194,7 +194,7 @@ CWARNINGFLAGS = \
+ -Wall\
+ -Wbad-function-cast\
+ -Wdeclaration-after-statement\
+- -Werror\
++ -Wno-pointer-to-int-cast\
+ -Wformat=2\
+ -Wmissing-declarations\
+ -Wmissing-prototypes\