From 7c48531c6b117e9d74fc795d92826a73f4323ba6 Mon Sep 17 00:00:00 2001 From: Al Stone Date: Oct 17 2017 21:39:43 +0000 Subject: Add new correction patch for big-endian machines --- diff --git a/debian/changelog b/debian/changelog index 9554ad8..d4da4f1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +acpica-unix (20170929-2) unstable; urgency=medium + + * Added correction patch for big-endian systems only + + -- Al Stone Tue, 17 Oct 2017 15:37:30 -0600 + acpica-unix (20170929-1) unstable; urgency=medium * Upgrade to 20170929 upstream. diff --git a/debian/patches/big-endian-v2.patch b/debian/patches/big-endian-v2.patch new file mode 100644 index 0000000..0c8831a --- /dev/null +++ b/debian/patches/big-endian-v2.patch @@ -0,0 +1,18 @@ +Updated versions of upstream often contain fixes that were not seen +in the original big-endian patch; we try to capture those here. + +Signed-off-by: Al Stone + +diff -Naur acpica-unix2-20170929.orig/source/compiler/asllookup.c acpica-unix2-20170929/source/compiler/asllookup.c +--- acpica-unix2-20170929.orig/source/compiler/asllookup.c 2017-10-09 12:26:25.893508481 -0600 ++++ acpica-unix2-20170929/source/compiler/asllookup.c 2017-10-17 11:45:42.230763844 -0600 +@@ -249,7 +249,8 @@ + * ACPI names and are typically not referenced since they are meant + * to be called by the host OS. + */ +- if (Node->Name.Ascii[0] == '_') ++ ACPI_MOVE_32_TO_32(&tmp.Ascii, Node->Name.Ascii); ++ if (tmp.Ascii[0] == '_') + { + return (AE_OK); + } diff --git a/debian/patches/series b/debian/patches/series index 681be12..c37db4d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ OPT_LDFLAGS.patch template.patch ppc64le.patch arm7hl.patch +big-endian-v2.patch