include $(TOPDIR)/rules.mk
PKG_NAME:=acpica-unix
-PKG_VERSION:=20230331
+PKG_VERSION:=20230628
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_CAT:=gzip -dc
PKG_SOURCE_URL:=https://acpica.org/sites/$(patsubst %-unix,%,$(PKG_NAME))/files/
-PKG_HASH:=0c5d695d605aaa61709f3c63f57a1a99b8902291723998446b0813b57ac310e2
+PKG_HASH:=86876a745e3d224dcfd222ed3de465b47559e85811df2db9820ef09a9dff5cce
PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
PKG_LICENSE:=GPL-2.0
+++ /dev/null
-We use the type uintptr_t but we don't directly include the header
-file <stdint.h> from which it comes.
-
---- a/source/include/platform/aclinux.h
-+++ b/source/include/platform/aclinux.h
-@@ -312,6 +312,7 @@
- #ifdef ACPI_USE_STANDARD_HEADERS
- #include <stddef.h>
- #include <unistd.h>
-+#include <stdint.h>
-
- #define ACPI_OFFSET(d, f) offsetof(d, f)
- #endif
+++ /dev/null
-Storing the address of an ephemeral variable into a persistent pointer
-is flagged by GCC 12 as a dangling-pointer error.
-
---- a/source/components/utilities/utdebug.c
-+++ b/source/components/utilities/utdebug.c
-@@ -185,7 +185,10 @@ AcpiUtInitStackPtrTrace (
- ACPI_SIZE CurrentSp;
-
-
-+#pragma GCC diagnostic push
-+#pragma GCC diagnostic ignored "-Wdangling-pointer="
- AcpiGbl_EntryStackPointer = &CurrentSp;
-+#pragma GCC diagnostic pop
- }
-
-