[oe-commits] Graeme Gregory : libffi_3.0.8.bb : add fix for autoconf 2.64+

git version control git at git.openembedded.org
Fri Mar 19 21:01:39 UTC 2010


Module: openembedded.git
Branch: rik/perl-5.10
Commit: 50c0b6a8d9f759b94a95caf59e8225db6881e0b6
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=50c0b6a8d9f759b94a95caf59e8225db6881e0b6

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Wed Mar 17 15:00:18 2010 +0000

libffi_3.0.8.bb : add fix for autoconf 2.64+

---

 recipes/libffi/libffi/autoconf-2.64.patch |   24 ++++++++++++++++++++++++
 recipes/libffi/libffi_3.0.8.bb            |    3 ++-
 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 0000000..7e5a41e
--- /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 at 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 d24e971..adde932 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 \





More information about the Openembedded-commits mailing list