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).
This commit is contained in:
termux-pacman-bot
2024-03-27 20:37:25 +00:00
parent 9751bb69f8
commit 38ebd886e3
2 changed files with 1 additions and 24 deletions

View File

@@ -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

View File

@@ -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"