[packages/acpica] - added x32 patch
qboosh
qboosh at pld-linux.org
Mon Jun 12 22:15:10 CEST 2017
commit 5876ddb3f31ca1087e10114680d9ebbe84647968
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jun 12 22:16:21 2017 +0200
- added x32 patch
acpica-x32.patch | 11 +++++++++++
acpica.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/acpica.spec b/acpica.spec
index 6954533..5169620 100644
--- a/acpica.spec
+++ b/acpica.spec
@@ -28,6 +28,7 @@ Patch3: asllookup-miscompare.patch
Patch4: re-enable-big-endian.patch
Patch5: OPT_LDFLAGS.patch
Patch6: int-format.patch
+Patch7: %{name}-x32.patch
Patch8: asllookup-ppc64.patch
Patch9: template.patch
Patch10: free.patch
@@ -60,6 +61,7 @@ tar -x --strip-components=1 -f %{SOURCE1}
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
diff --git a/acpica-x32.patch b/acpica-x32.patch
new file mode 100644
index 0000000..1600fb9
--- /dev/null
+++ b/acpica-x32.patch
@@ -0,0 +1,11 @@
+--- acpica-unix-20170303/source/include/platform/aclinux.h.orig 2017-06-12 22:05:52.100041265 +0200
++++ acpica-unix-20170303/source/include/platform/aclinux.h 2017-06-12 22:06:02.790569724 +0200
+@@ -310,7 +310,7 @@
+ #define ACPI_FLUSH_CPU_CACHE()
+ #define ACPI_CAST_PTHREAD_T(Pthread) ((ACPI_THREAD_ID) (Pthread))
+
+-#if defined(__ia64__) || defined(__x86_64__) ||\
++#if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\
+ defined(__aarch64__) || defined(__PPC64__) ||\
+ defined(__s390x__)
+ #define ACPI_MACHINE_WIDTH 64
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/acpica.git/commitdiff/5876ddb3f31ca1087e10114680d9ebbe84647968
More information about the pld-cvs-commit
mailing list