From 711677eed8f2978146a73ec4ff2afac7be6d9b2d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 11 Apr 2017 15:57:12 +0000 Subject: main/acpica: fix build on 32bit systems --- main/acpica/APKBUILD | 3 +++ main/acpica/disable-werror.patch | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 main/acpica/disable-werror.patch (limited to 'main/acpica') 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\ -- cgit v1.2.3