diff --git a/acpica-tools.spec b/acpica-tools.spec index 6c5de80..5ca9de6 100644 --- a/acpica-tools.spec +++ b/acpica-tools.spec @@ -48,7 +48,7 @@ Patch20: aslcodegen.patch Patch21: facp.patch Patch24: armv7-str-fixes.patch Patch25: dbtest.patch -#Patch27: big-endian-v3.patch +Patch27: big-endian-v3.patch BuildRequires: bison patchutils flex gcc @@ -124,7 +124,7 @@ gzip -dc %{SOURCE1} | tar -x --strip-components=1 -f - %patch21 -p1 -b .facp %patch24 -p1 -b .armv7-str-fixes %patch25 -p1 -b .dbtest -#%patch27 -p1 -b .big-endian-v3 +%patch27 -p1 -b .big-endian-v3 cp -p %{SOURCE2} README.Fedora cp -p %{SOURCE3} iasl.1 diff --git a/big-endian-v3.patch b/big-endian-v3.patch index e3db4f6..93ef67d 100644 --- a/big-endian-v3.patch +++ b/big-endian-v3.patch @@ -104,26 +104,6 @@ diff -Naur acpica-unix2-20200214.orig/source/compiler/dttable2.c acpica-unix2-20 } break; -diff -Naur acpica-unix2-20200214.orig/source/compiler/aslxref.c acpica-unix2-20200214/source/compiler/aslxref.c ---- acpica-unix2-20200214.orig/source/compiler/aslxref.c 2020-02-14 10:33:53.000000000 -0700 -+++ acpica-unix2-20200214/source/compiler/aslxref.c 2020-02-26 13:21:43.973602232 -0700 -@@ -547,8 +547,14 @@ - */ - AslGbl_NsLookupCount++; - -- Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType, -- ACPI_IMODE_EXECUTE, Flags, WalkState, &Node); -+ { -+ UINT32 Tmp32; -+ -+ ACPI_MOVE_32_TO_32(&Tmp32, Path); -+ -+ Status = AcpiNsLookup (WalkState->ScopeInfo, (char *)&Tmp32, ObjectType, -+ ACPI_IMODE_EXECUTE, Flags, WalkState, &Node); -+ } - if (ACPI_FAILURE (Status)) - { - if (Status == AE_NOT_FOUND) diff -Naur acpica-unix2-20200214.orig/source/compiler/aslload.c acpica-unix2-20200214/source/compiler/aslload.c --- acpica-unix2-20200214.orig/source/compiler/aslload.c 2020-02-14 10:33:53.000000000 -0700 +++ acpica-unix2-20200214/source/compiler/aslload.c 2020-02-27 13:25:19.308413494 -0700