summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch')
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch b/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch
new file mode 100644
index 0000000000..c8e3c1f721
--- /dev/null
+++ b/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch
@@ -0,0 +1,19 @@
1Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=31358
2
3configure: fix whitelisting of x86_64 unaligned memory access
4
5Fix typo in whitelist so cross-compile works for x86_64.
6
7Upstream-Status: Inappropriate [configuration]
8
9--- liboil-0.3.17/m4/as-unaligned-access.m4.orig 2009-02-26 14:40:08.000000000 -0500
10+++ liboil-0.3.17/m4/as-unaligned-access.m4 2010-11-03 12:19:55.000000000 -0400
11@@ -9,7 +9,7 @@
12 _AS_ECHO_N([(blacklisted) ])
13 as_cv_unaligned_access=no
14 ;;
15- i?86*|x86_64|amd64|powerpc*|m68k*|cris*)
16+ i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
17 _AS_ECHO_N([(whitelisted) ])
18 as_cv_unaligned_access=yes
19 ;;