diff options
Diffstat (limited to 'recipes/libffi')
-rw-r--r-- | recipes/libffi/libffi/autoconf-2.64.patch | 24 | ||||
-rw-r--r-- | 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 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 \ |