new file mode 100644
@@ -0,0 +1,24 @@
+diff -urN libffi-3.0.11~orig/configure libffi-3.0.11/configure
+--- libffi-3.0.11~orig/configure 2012-04-12 05:13:17.000000000 +0200
++++ libffi-3.0.11/configure 2012-11-01 14:22:55.033872192 +0100
+@@ -2710,7 +2710,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&5
+ $as_echo "....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&6; }
+ case "$0" in # restart
+- /\\*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
++ [/\\]*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
+ *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
+ esac ; exit $?
+ fi
+diff -urN libffi-3.0.11~orig/m4/ax_enable_builddir.m4 libffi-3.0.11/m4/ax_enable_builddir.m4
+--- libffi-3.0.11~orig/m4/ax_enable_builddir.m4 2012-04-12 04:46:06.000000000 +0200
++++ libffi-3.0.11/m4/ax_enable_builddir.m4 2012-11-01 14:14:39.313884614 +0100
+@@ -121,7 +121,7 @@
+ test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
+ AC_MSG_RESULT(....exec $SHELL $srcdir/[$]0 "--srcdir=$srcdir" "--enable-builddir=$SUB" ${1+"[$]@"})
+ case "[$]0" in # restart
+- [/\\]*) eval $SHELL "'[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
++ [[/\\]]*) eval $SHELL "'[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
+ *) eval $SHELL "'$srcdir/[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
+ esac ; exit $?
+ fi
new file mode 100644
@@ -0,0 +1,6 @@
+# -*- mode:python; -*-
+require ${PN}.inc
+
+LICENSE = "MIT"
+
+SRC_URI += "file://ax_enable_builddir.patch"
new file mode 100644
@@ -0,0 +1 @@
+463dcb4ae9aea4c52bba12b67fbe4d91ed1e21fd libffi-3.0.12.tar.gz
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk> --- .../libffi/libffi-3.0.12/ax_enable_builddir.patch | 24 ++++++++++++++++++++ recipes/libffi/libffi_3.0.12.oe | 6 +++++ recipes/libffi/libffi_3.0.12.oe.sig | 1 + 3 files changed, 31 insertions(+) create mode 100644 recipes/libffi/libffi-3.0.12/ax_enable_builddir.patch create mode 100644 recipes/libffi/libffi_3.0.12.oe create mode 100644 recipes/libffi/libffi_3.0.12.oe.sig