diff mbox

[1/2] libffi: Add version 3.0.12

Message ID 9e35eee05e23929ad7ae3c62fddbdb662fcca8ae.1363678768.git.jacob.kjaergaard@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Jacob Kjaergaard March 19, 2013, 7:40 a.m. UTC
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
diff mbox

Patch

diff --git a/recipes/libffi/libffi-3.0.12/ax_enable_builddir.patch b/recipes/libffi/libffi-3.0.12/ax_enable_builddir.patch
new file mode 100644
index 0000000..7cd5ef2
--- /dev/null
+++ b/recipes/libffi/libffi-3.0.12/ax_enable_builddir.patch
@@ -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
diff --git a/recipes/libffi/libffi_3.0.12.oe b/recipes/libffi/libffi_3.0.12.oe
new file mode 100644
index 0000000..55f6d1b
--- /dev/null
+++ b/recipes/libffi/libffi_3.0.12.oe
@@ -0,0 +1,6 @@ 
+# -*- mode:python; -*-
+require ${PN}.inc
+
+LICENSE = "MIT"
+
+SRC_URI += "file://ax_enable_builddir.patch"
diff --git a/recipes/libffi/libffi_3.0.12.oe.sig b/recipes/libffi/libffi_3.0.12.oe.sig
new file mode 100644
index 0000000..7951316
--- /dev/null
+++ b/recipes/libffi/libffi_3.0.12.oe.sig
@@ -0,0 +1 @@ 
+463dcb4ae9aea4c52bba12b67fbe4d91ed1e21fd  libffi-3.0.12.tar.gz