summaryrefslogtreecommitdiff
path: root/Ports/libffi
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-01-08 17:02:29 +0330
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-01-16 10:32:50 +0330
commitcdd6d68b2ab56554e5ebcb61f0977534153530f1 (patch)
treea2b3363a79e143bc9b251349c8f72c351add8a71 /Ports/libffi
parent87630c5fd58a3f292f13c06d5a48a7e7835a7aa1 (diff)
downloadserenity-cdd6d68b2ab56554e5ebcb61f0977534153530f1.zip
Ports: Remove some config.sub patches and download a fresh one if needed
All of these patches did the same thing, which is already in upstream config.sub. With this change, we need only add `use_fresh_config_sub=true` to the package.sh file. Note that this is not done automatically in case the port has a modified config.sub file.
Diffstat (limited to 'Ports/libffi')
-rwxr-xr-xPorts/libffi/package.sh1
-rw-r--r--Ports/libffi/patches/fix-autoconf.patch13
2 files changed, 1 insertions, 13 deletions
diff --git a/Ports/libffi/package.sh b/Ports/libffi/package.sh
index c511f1a9b7..0e7acdda61 100755
--- a/Ports/libffi/package.sh
+++ b/Ports/libffi/package.sh
@@ -2,5 +2,6 @@
port=libffi
version=3.4.2
useconfigure=true
+use_fresh_config_sub=true
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
deleted file mode 100644
index 7afbcfa491..0000000000
--- a/Ports/libffi/patches/fix-autoconf.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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* )
- ;;
- # This one is extra strict with allowed versions
- sco3.2v2 | sco3.2v[4-9]* | sco5v6*)