Subject: [PATCH] main/acpica: upgrade to 20221020

From: ovf <[email-masked]>
Date: Tue, 21 Mar 2023 10:43:51 +0000

---
 main/acpica/APKBUILD             | 11 ++++-------
 main/acpica/disable-werror.patch | 13 -------------
 2 files changed, 4 insertions(+), 20 deletions(-)
 delete mode 100644 main/acpica/disable-werror.patch

diff --git a/main/acpica/APKBUILD b/main/acpica/APKBUILD
index 31cf390c78a..03499ca477d 100644
--- a/main/acpica/APKBUILD
+++ b/main/acpica/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Roger Pau Monne <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=acpica
-pkgver=20220331
+pkgver=20221020
 pkgrel=0
 pkgdesc="ACPI Component Architecture utilities"
 url="https://www.acpica.org"
@@ -10,13 +10,11 @@ license="GPL-2.0-only OR BSD-3-Clause OR Intel-ACPI"
 makedepends="flex bison"
 subpackages="iasl"
 options="!check"
-source="acpica-unix-$pkgver.tar.gz::https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar.gz
-	disable-werror.patch
-	"
+source="acpica-unix-$pkgver.tar.gz::https://acpica.org/sites/acpica/files/acpica-unix-$pkgver.tar_0.gz"
 
 builddir="$srcdir"/acpica-unix-$pkgver
 build() {
-	make
+	make NOWERROR=TRUE
 }
 
 package() {
@@ -30,6 +28,5 @@ iasl() {
 }
 
 sha512sums="
-3120ba2a8b63adbf58323e4493222510119248e6b68e6f0f7c9b0eb2f798ba307544fcb148a079cd2647a933f5a39df0da1a3086db9ab22a3134bc788c849a9f  acpica-unix-20220331.tar.gz
-1f5049568d612d4debf3690e0d918d8d56abbed14ade7b2e6282eba17b25934b695d1a9fe10f99469efe8d4382c4546481d0579afdf5cdb9695fcdc93559fbab  disable-werror.patch
+a86e8510041d5fb5180e2ed56367f9ec031173566f11f304dc50414b0f3416c83c4f31496783dfd1846e6506d7b685cb333462356c3c1578c0026a2a1fd1e588  acpica-unix-20221020.tar.gz
 "
diff --git a/main/acpica/disable-werror.patch b/main/acpica/disable-werror.patch
deleted file mode 100644
index da0c7c8889b..00000000000
--- a/main/acpica/disable-werror.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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\
-- 
2.40.0