From 38ebd886e302d9345d3029eebd129be64cb647b8 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Wed, 27 Mar 2024 20:37:25 +0000 Subject: [PATCH] fix(main/libffi): remove export-symbol patch for 32 bit arches Seems to be no longer needed, and having this patch causes build failure on 32bit arches for at least some packages that depend on libffi (like php). --- .../0003-fix-export-symbols-for-32-bits.patch | 24 ------------------- packages/libffi/build.sh | 1 + 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 packages/libffi/0003-fix-export-symbols-for-32-bits.patch diff --git a/packages/libffi/0003-fix-export-symbols-for-32-bits.patch b/packages/libffi/0003-fix-export-symbols-for-32-bits.patch deleted file mode 100644 index e727d0f143..0000000000 --- a/packages/libffi/0003-fix-export-symbols-for-32-bits.patch +++ /dev/null @@ -1,24 +0,0 @@ -https://github.com/termux/termux-packages/issues/18804 - ---- a/libffi.map.in -+++ b/libffi.map.in -@@ -20,7 +20,9 @@ - ffi_type_sint64; - ffi_type_float; - ffi_type_double; -+#ifdef HAVE_LONG_DOUBLE - ffi_type_longdouble; -+#endif - ffi_type_pointer; - - /* Exported functions. */ -@@ -49,7 +51,9 @@ - /* Exported data variables. */ - ffi_type_complex_float; - ffi_type_complex_double; -+#ifdef HAVE_LONG_DOUBLE - ffi_type_complex_longdouble; -+#endif - } LIBFFI_BASE_8.0; - #endif - diff --git a/packages/libffi/build.sh b/packages/libffi/build.sh index d3f354e5ec..6ff759dfc2 100644 --- a/packages/libffi/build.sh +++ b/packages/libffi/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library providing a portable, high level programming int TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="3.4.6" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/libffi/libffi/releases/download/v${TERMUX_PKG_VERSION}/libffi-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e TERMUX_PKG_BREAKS="libffi-dev"