summaryrefslogtreecommitdiff
path: root/Ports/libffi
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/libffi')
-rwxr-xr-xPorts/libffi/package.sh4
-rw-r--r--Ports/libffi/patches/fix-autoconf.patch23
2 files changed, 14 insertions, 13 deletions
diff --git a/Ports/libffi/package.sh b/Ports/libffi/package.sh
index 4c7a03d485..c511f1a9b7 100755
--- a/Ports/libffi/package.sh
+++ b/Ports/libffi/package.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libffi
-version=3.3
+version=3.4.2
useconfigure=true
-files="ftp://sourceware.org/pub/libffi/libffi-${version}.tar.gz libffi-${version}.tar.gz 72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056"
+files="https://github.com/libffi/libffi/releases/download/v${version}/libffi-${version}.tar.gz libffi-${version}.tar.gz 540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620"
auth_type=sha256
diff --git a/Ports/libffi/patches/fix-autoconf.patch b/Ports/libffi/patches/fix-autoconf.patch
index b48ff5463a..7afbcfa491 100644
--- a/Ports/libffi/patches/fix-autoconf.patch
+++ b/Ports/libffi/patches/fix-autoconf.patch
@@ -1,12 +1,13 @@
---- a/config.sub 2019-10-31 17:49:54.000000000 +0300
-+++ b/config.sub 2020-09-10 17:03:14.219589932 +0300
-@@ -1417,7 +1417,8 @@
- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
-- | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
-+ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* \
-+ | -serenity* )
- # Remember, each alternative MUST END IN *, to match a version number.
+diff --git a/config.sub b/config.sub
+index 14b5150..b541768 100644
+--- a/config.sub
++++ b/config.sub
+@@ -1722,7 +1722,7 @@ case $os in
+ | skyos* | haiku* | rdos* | toppers* | drops* | es* \
+ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
+ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
+- | nsk* | powerunix* | genode* | zvmoe* )
++ | nsk* | powerunix* | genode* | zvmoe* | serenity* )
;;
- -qnx*)
+ # This one is extra strict with allowed versions
+ sco3.2v2 | sco3.2v[4-9]* | sco5v6*)