summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/liboil
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-03-31 20:49:08 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-04 14:09:42 +0100
commit438ec9cfbe499845cde2b02b3284c76e15123733 (patch)
treec0d1eb452c5682d87e7f437ddf26946c8bd775c5 /meta/recipes-support/liboil
parent45e0eabb3a0b6b04f6bed12018d84c3f2b173036 (diff)
downloadpoky-438ec9cfbe499845cde2b02b3284c76e15123733.tar.gz
liboil_0.3.17.bb: Enable x86_64 unaligned memory access
Patch imported from OE (From OE-Core rev: 097a8a50ff0628a2b991757c8862fbd260772ed8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/liboil')
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch17
-rw-r--r--meta/recipes-support/liboil/liboil_0.3.17.bb6
2 files changed, 21 insertions, 2 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..79d53b6e5d
--- /dev/null
+++ b/meta/recipes-support/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch
@@ -0,0 +1,17 @@
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
7--- liboil-0.3.17/m4/as-unaligned-access.m4.orig 2009-02-26 14:40:08.000000000 -0500
8+++ liboil-0.3.17/m4/as-unaligned-access.m4 2010-11-03 12:19:55.000000000 -0400
9@@ -9,7 +9,7 @@
10 _AS_ECHO_N([(blacklisted) ])
11 as_cv_unaligned_access=no
12 ;;
13- i?86*|x86_64|amd64|powerpc*|m68k*|cris*)
14+ i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
15 _AS_ECHO_N([(whitelisted) ])
16 as_cv_unaligned_access=yes
17 ;;
diff --git a/meta/recipes-support/liboil/liboil_0.3.17.bb b/meta/recipes-support/liboil/liboil_0.3.17.bb
index fe8a22f59f..f342a820fe 100644
--- a/meta/recipes-support/liboil/liboil_0.3.17.bb
+++ b/meta/recipes-support/liboil/liboil_0.3.17.bb
@@ -10,10 +10,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ad80780d9c5205d63481a0184e199a15 \
10 file://testsuite/trans.c;endline=29;md5=380ecd43121fe3dcc0d8d7e5984f283d" 10 file://testsuite/trans.c;endline=29;md5=380ecd43121fe3dcc0d8d7e5984f283d"
11 11
12DEPENDS = "glib-2.0" 12DEPENDS = "glib-2.0"
13PR = "r2" 13PR = "r3"
14 14
15SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ 15SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \
16 file://no-tests.patch;patch=1" 16 file://no-tests.patch \
17 file://fix-unaligned-whitelist.patch \
18 "
17 19
18SRC_URI[md5sum] = "47dc734f82faeb2964d97771cfd2e701" 20SRC_URI[md5sum] = "47dc734f82faeb2964d97771cfd2e701"
19SRC_URI[sha256sum] = "105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69" 21SRC_URI[sha256sum] = "105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69"