summaryrefslogtreecommitdiff
path: root/package/libffi/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libffi/patches')
-rw-r--r--package/libffi/patches/patch-configure_ac14
-rw-r--r--package/libffi/patches/patch-include_Makefile_am4
-rw-r--r--package/libffi/patches/patch-libffi_pc_in13
3 files changed, 11 insertions, 20 deletions
diff --git a/package/libffi/patches/patch-configure_ac b/package/libffi/patches/patch-configure_ac
deleted file mode 100644
index 32be1a3f7..000000000
--- a/package/libffi/patches/patch-configure_ac
+++ /dev/null
@@ -1,14 +0,0 @@
---- libffi-3.0.13.orig/configure.ac 2013-03-17 23:36:15.000000000 +0100
-+++ libffi-3.0.13/configure.ac 2013-12-05 15:58:33.000000000 +0100
-@@ -546,11 +546,6 @@ if test "x$GCC" = "xyes"; then
- toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
- toolexeclibdir='$(libdir)'
- fi
-- multi_os_directory=`$CC -print-multi-os-directory`
-- case $multi_os_directory in
-- .) ;; # Avoid trailing /.
-- ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
-- esac
- AC_SUBST(toolexecdir)
- else
- toolexeclibdir='$(libdir)'
diff --git a/package/libffi/patches/patch-include_Makefile_am b/package/libffi/patches/patch-include_Makefile_am
index 1602b5457..0ec4e125c 100644
--- a/package/libffi/patches/patch-include_Makefile_am
+++ b/package/libffi/patches/patch-include_Makefile_am
@@ -1,5 +1,5 @@
---- libffi-3.0.13.orig/include/Makefile.am 2013-03-16 12:19:39.000000000 +0100
-+++ libffi-3.0.13/include/Makefile.am 2013-12-05 16:33:48.000000000 +0100
+--- libffi-3.1.orig/include/Makefile.am 2014-04-25 19:45:13.000000000 +0200
++++ libffi-3.1/include/Makefile.am 2014-06-12 15:22:08.000000000 +0200
@@ -5,5 +5,5 @@ AUTOMAKE_OPTIONS=foreign
DISTCLEANFILES=ffitarget.h
EXTRA_DIST=ffi.h.in ffi_common.h
diff --git a/package/libffi/patches/patch-libffi_pc_in b/package/libffi/patches/patch-libffi_pc_in
index 55bc4e361..05980c7cc 100644
--- a/package/libffi/patches/patch-libffi_pc_in
+++ b/package/libffi/patches/patch-libffi_pc_in
@@ -1,11 +1,16 @@
---- libffi-3.0.9.orig/libffi.pc.in 2009-12-31 13:38:48.000000000 +0100
-+++ libffi-3.0.9/libffi.pc.in 2010-12-11 01:46:04.000000000 +0100
-@@ -1,7 +1,7 @@
+--- libffi-3.1.orig/libffi.pc.in 2014-04-25 19:45:13.000000000 +0200
++++ libffi-3.1/libffi.pc.in 2014-06-12 17:35:39.000000000 +0200
+@@ -1,11 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
+-toolexeclibdir=@toolexeclibdir@
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
-+includedir=@includedir@
++includedir=${prefix}/include
Name: @PACKAGE_NAME@
Description: Library supporting Foreign Function Interfaces
+ Version: @PACKAGE_VERSION@
+-Libs: -L${toolexeclibdir} -lffi
++Libs: -lffi
+ Cflags: -I${includedir}