liboil 0.3.17: fix cross-compile on x86_64
PATCH 1/1 liboil 0.3.17: fix cross-compile on x86_64
Fix typo in whitelist of hosts allowing unaligned memory access.
Signed-off-by Michael Smith <[email protected]>
--- .../liboil-0.3.17/fix-unaligned-whitelist.patch | 17 +++++++++++++++++ recipes/liboil/liboil_0.3.17.bb | 7 +++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 recipes/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch
recipes/liboil/liboil-0.3.17/fix-unaligned-whitelist.patch new file +17 -0
@@ -0,0 +1,17 @@ +Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=31358 + +configure: fix whitelisting of x86_64 unaligned memory access + +Fix typo in whitelist so cross-compile works for x86_64. + +--- liboil-0.3.17/m4/as-unaligned-access.m4.orig 2009-02-26 14:40:08.000000000 -0500 ++++ liboil-0.3.17/m4/as-unaligned-access.m4 2010-11-03 12:19:55.000000000 -0400 +@@ -9,7 +9,7 @@ + _AS_ECHO_N([(blacklisted) ]) + as_cv_unaligned_access=no + ;; +- i?86*|x86_64|amd64|powerpc*|m68k*|cris*) ++ i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*) + _AS_ECHO_N([(whitelisted) ]) + as_cv_unaligned_access=yes + ;;
recipes/liboil/liboil_0.3.17.bb +5 -2
@@ -1,11 +1,14 @@ DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." HOMEPAGE = "http://liboil.freedesktop.org/" LICENSE = "liboil" -PR = "r0" +PR = "r1" DEPENDS = "glib-2.0" -SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz" +SRC_URI = " \ + http://liboil.freedesktop.org/download/${P}.tar.gz \ + file://fix-unaligned-whitelist.patch;apply=yes \ +" inherit autotools pkgconfig
Signature · 1 line
1.7.0.4