From: Graeme Gregory Date: Wed, 17 Mar 2010 15:00:18 +0000 (+0000) Subject: libffi_3.0.8.bb : add fix for autoconf 2.64+ X-Git-Tag: Release-2010-05/1~340^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c0b6a8d9f759b94a95caf59e8225db6881e0b6;p=openembedded.git libffi_3.0.8.bb : add fix for autoconf 2.64+ --- 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 +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 \