Add in an additional patch to correct for new fixes upstream that
break big-endian again. Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
parent
bd1cd02d2c
commit
0560f83293
@ -32,6 +32,7 @@ Patch5: template.patch
|
|||||||
Patch6: free.patch
|
Patch6: free.patch
|
||||||
Patch7: ppc64le.patch
|
Patch7: ppc64le.patch
|
||||||
Patch8: arm7hl.patch
|
Patch8: arm7hl.patch
|
||||||
|
Patch9: big-endian-v2.patch
|
||||||
|
|
||||||
BuildRequires: bison patchutils flex
|
BuildRequires: bison patchutils flex
|
||||||
|
|
||||||
@ -90,6 +91,7 @@ gzip -dc %{SOURCE1} | tar -x --strip-components=1 -f -
|
|||||||
%patch6 -p1 -b .free
|
%patch6 -p1 -b .free
|
||||||
%patch7 -p1 -b .ppc64le
|
%patch7 -p1 -b .ppc64le
|
||||||
%patch8 -p1 -b .arm7hl
|
%patch8 -p1 -b .arm7hl
|
||||||
|
%patch9 -p1 -b .big-endian-v2
|
||||||
|
|
||||||
cp -p %{SOURCE2} README.Fedora
|
cp -p %{SOURCE2} README.Fedora
|
||||||
cp -p %{SOURCE3} iasl.1
|
cp -p %{SOURCE3} iasl.1
|
||||||
|
18
big-endian-v2.patch
Normal file
18
big-endian-v2.patch
Normal file
@ -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 <ahs3@redhat.com>
|
||||||
|
|
||||||
|
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);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user