]> git.pld-linux.org Git - packages/acpica.git/commitdiff
- added x32 patch auto/th/acpica-20170303-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 12 Jun 2017 20:16:21 +0000 (22:16 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 12 Jun 2017 20:16:21 +0000 (22:16 +0200)
acpica-x32.patch [new file with mode: 0644]
acpica.spec

diff --git a/acpica-x32.patch b/acpica-x32.patch
new file mode 100644 (file)
index 0000000..1600fb9
--- /dev/null
@@ -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
index 69545333e079182c09ccb2d2631e2051955bf790..5169620e41cb720db21512f26617d4411a97c308 100644 (file)
@@ -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
This page took 0.10093 seconds and 4 git commands to generate.