~sircmpwn/alpine-aports (mirror)

main/acpica: upgrade to 20221020 v1 PROPOSED

ovf: 1
 main/acpica: upgrade to 20221020

 2 files changed, 4 insertions(+), 20 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/alpine-aports/patches/39885/mbox | git am -3
Learn more about email & git

[PATCH] main/acpica: upgrade to 20221020 Export this patch

---
 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 <roger.pau@entel.upc.edu>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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
@@ -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