Commit Graph

29 Commits

Author SHA1 Message Date
Henrik Grimler 0e06d88f94
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).
2024-03-27 20:33:27 +01:00
Twaik Yont a131143fd6 bump(main/libffi): 3.4.6 2024-03-17 19:59:49 +02:00
Chongyun Lee 92dd945354 libffi: fix compile on 32-bit archs
[skip ci]
2023-12-24 20:23:02 +08:00
Tee KOBAYASHI 715da16f54 libffi: Fix build with strict C99 2023-04-02 04:51:35 +09:00
Tee KOBAYASHI cb64c005e8 libffi: Add SOVERSION guard
%ci:no-build
2023-02-16 11:26:38 +00:00
Tee KOBAYASHI 75716fe5ff libffi: Bump to 3.4.4 2022-10-25 18:19:44 +00:00
Tee KOBAYASHI 9d3c9ab057 libffi: Bump to 3.4.3 2022-09-26 10:10:25 +09:00
Jia Yuan Lo 035c918418
scripts: add termux_setup_gnu_as_23c for NDK r25 (#11615)
NDK r25 has removed GNU Assembler (GAS). Removal of GAS introduced a number of build issues.
The most prominent is:
/usr/bin/as: unrecognized option '-EL'

Some options to solve this:
1. Disable building custom assembly and suffer performance penalty
2. Hand rewrite the custom assembly to be LLVM compatible
3. Wait for upstream to write LLVM compatible assembly (openssl, openssl-1.1)
4. Bring back GAS from NDK r23c

In this commit, GAS is brought back as a separate toolchain instead of following NDK r23c file hierarchy.
We pass "--gcc-toolchain=GAS_TOOLCHAIN_DIR" to NDK r25 clang to detect.
Packages only have to add "termux_step_gnu_as_23c" to build.sh to enable GAS.
In the future, we expect packages should follow option 3 more than option 4 as that is a last resort.

This commit also bumps revision for packages that rely (or previously rely) on "-fno-integrated-as":
hors, libffi, libgcrypt, libpixman, openssl, openssl-1.1

Co-authored-by: Henrik Grimler <grimler@termux.dev>
Co-authored-by: Chongyun Lee <45286352+licy183@users.noreply.github.com>
2022-08-24 23:17:08 +08:00
Yaksh Bariya a2f2548da9 `libffi`: Bump to 3.4.2 2021-08-01 18:46:01 +03:00
Leonid Pliushch 37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch ea91ae1458 bumping again flex, libgcrypt, libffi 2020-07-07 19:51:44 +03:00
Leonid Pliushch 23d31c27a4 libffi: bump revision 2020-07-07 19:24:02 +03:00
Fredrik Fornwall 5f2d338b84 libffi: Update from 3.2.1 to 3.3.0 2019-12-01 17:59:22 +01:00
its-pointless d776cc597f fix for libffi 2019-10-25 12:52:01 +11:00
Leonid Pliushch 6e70277fb3 no more develsplit + provide static libraries as separate package
%ci:no-build
2019-07-28 21:17:12 +03:00
Leonid Pliushch a9b08c2cc8 libffi: disable versioning + rebuild dependent packages 2019-06-28 20:34:04 +03:00
Wetitpig 5f07ac4eb9 Change permissions 2019-02-09 21:06:31 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 5a148fe3f6 libffi: Use -fno-integrated-as for arm 2018-09-20 00:26:38 +02:00
Fredrik Fornwall dcf607ba0b libffi: Add source checksum 2017-02-20 05:44:16 +01:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall a9e7faf25c Bump some build revisions for rebuild with ELF fix 2016-09-28 09:47:02 -04:00
Fredrik Fornwall 174a0b74f5 Force rebuild some packages for arm softfp 2016-05-21 20:18:19 -04:00
Fredrik Fornwall 06ef79a417 libffi: Patch for building with clang on arm 2016-05-16 20:39:36 -04:00
Fredrik Fornwall 80eb12d68d libffi: Add patch to fix building with clang 2016-05-16 20:28:21 -04:00
Fredrik Fornwall 005da1ca38 libffi: Hack away lib64->lib for 64-bit builds 2016-01-04 11:03:12 -05:00
Fredrik Fornwall 5b6e93862c libffi: Do not place lib in lib64 for 64-bit 2016-01-04 06:22:38 -05:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00