summaryrefslogtreecommitdiff
path: root/package/libffi
diff options
context:
space:
mode:
Diffstat (limited to 'package/libffi')
-rw-r--r--package/libffi/Makefile8
-rw-r--r--package/libffi/patches/patch-ltmain_sh11
2 files changed, 5 insertions, 14 deletions
diff --git a/package/libffi/Makefile b/package/libffi/Makefile
index 15548dabf..4bdd10ed4 100644
--- a/package/libffi/Makefile
+++ b/package/libffi/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= libffi
-PKG_VERSION:= 3.0.9
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 1f300a7a7f975d4046f51c3022fa5ff1
+PKG_VERSION:= 3.0.11
+PKG_RELEASE:= 1
+PKG_MD5SUM:= f69b9693227d976835b4857b1ba7d0e3
PKG_DESCR:= Foreign Function Interface library
PKG_SECTION:= libs
PKG_URL:= http://sourceware.org/libffi/
@@ -21,6 +21,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBFFI,libffi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBFFI_DEV,libffi-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBFFI_DEV},${PKGSC_LIBFFI_DEV}))
+CONFIGURE_ARGS+= --disable-builddir
+
libffi-install:
${INSTALL_DIR} ${IDIR_LIBFFI}/usr/lib
${CP} ${WRKINST}/usr/lib/libffi.so* ${IDIR_LIBFFI}/usr/lib
diff --git a/package/libffi/patches/patch-ltmain_sh b/package/libffi/patches/patch-ltmain_sh
deleted file mode 100644
index 02c12cbfb..000000000
--- a/package/libffi/patches/patch-ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- libffi-3.0.9.orig/ltmain.sh 2009-12-31 13:38:48.000000000 +0100
-+++ libffi-3.0.9/ltmain.sh 2011-01-14 19:48:53.000000000 +0100
-@@ -4765,7 +4765,7 @@ func_mode_link ()
- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
- # @file GCC response files
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- func_append compile_command " $arg"