Commit 711677ee authored by Natanael Copa's avatar Natanael Copa

main/acpica: fix build on 32bit systems

parent da85ca27
......@@ -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/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\
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment