summaryrefslogtreecommitdiff
path: root/recipes/libffi
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-03-17 15:00:18 +0000
committerGraeme Gregory <dp@xora.org.uk>2010-03-18 19:42:37 +0000
commit50c0b6a8d9f759b94a95caf59e8225db6881e0b6 (patch)
treea2216e35ef4ef9a179fc749a2fb096b4d025c1a2 /recipes/libffi
parent19c27b7d168d8121ae85d321f68775e8c9076c21 (diff)
libffi_3.0.8.bb : add fix for autoconf 2.64+
Diffstat (limited to 'recipes/libffi')
-rw-r--r--recipes/libffi/libffi/autoconf-2.64.patch24
-rw-r--r--recipes/libffi/libffi_3.0.8.bb3
2 files changed, 26 insertions, 1 deletions
diff --git a/recipes/libffi/libffi/autoconf-2.64.patch b/recipes/libffi/libffi/autoconf-2.64.patch
new file mode 100644
index 0000000000..7e5a41e141
--- /dev/null
+++ b/recipes/libffi/libffi/autoconf-2.64.patch
@@ -0,0 +1,24 @@
+From cc8c1160a690a1eafc35e745da5f24e258436bda Mon Sep 17 00:00:00 2001
+From: Mike Lundy <mike@fluffypenguin.org>
+Date: Fri, 2 Oct 2009 12:28:13 -0700
+Subject: [PATCH] fix libffi for autoconf-2.64
+
+---
+ libffi-3.0.8/configure.ac | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git libffi-3.0.8/configure.ac libffi-3.0.8/configure.ac
+index 6a7e7fb..4c3f190 100644
+--- libffi-3.0.8/configure.ac
++++ libffi-3.0.8/configure.ac
+@@ -20,6 +20,7 @@ AM_INIT_AUTOMAKE
+ m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
+ m4_define([_AC_ARG_VAR_PRECIOUS],[])
+ AC_PROG_CC
++m4_undefine([_AC_ARG_VAR_PRECIOUS])
+ m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
+
+ AC_SUBST(CFLAGS)
+--
+1.6.4
+
diff --git a/recipes/libffi/libffi_3.0.8.bb b/recipes/libffi/libffi_3.0.8.bb
index d24e9715d4..adde932bbe 100644
--- a/recipes/libffi/libffi_3.0.8.bb
+++ b/recipes/libffi/libffi_3.0.8.bb
@@ -24,7 +24,8 @@ FILES_${PN}-dev = "${includedir}/${TARGET_SYS}/ffi* \
${libdir}/pkgconfig \
"
-SRC_URI = "ftp://sourceware.org/pub/libffi/${P}.tar.gz"
+SRC_URI = "ftp://sourceware.org/pub/libffi/${P}.tar.gz \
+ file://autoconf-2.64.patch;patch=1"
EXTRA_OECONF = "--with-gnu-ld \
--enable-shared \