summaryrefslogtreecommitdiff
path: root/Ports/libgd
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/libgd
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/libgd')
-rwxr-xr-xPorts/libgd/package.sh2
-rw-r--r--Ports/libgd/patches/configure.patch12
2 files changed, 2 insertions, 12 deletions
diff --git a/Ports/libgd/package.sh b/Ports/libgd/package.sh
index 9b666b0583..c041200e8a 100755
--- a/Ports/libgd/package.sh
+++ b/Ports/libgd/package.sh
@@ -2,6 +2,8 @@
port=libgd
version=2.3.3
useconfigure=true
+use_fresh_config_sub=true
+config_sub_path=build-aux/config.sub
files="https://github.com/libgd/libgd/releases/download/gd-${version}/libgd-${version}.tar.gz libgd-${version}.tar.gz dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2"
auth_type=sha256
depends=("libpng")
diff --git a/Ports/libgd/patches/configure.patch b/Ports/libgd/patches/configure.patch
deleted file mode 100644
index 9bca019e10..0000000000
--- a/Ports/libgd/patches/configure.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN libgd-2.3.3/config/config.sub libgd-2.3.3.patched/config/config.sub
---- libgd-2.3.3/config/config.sub 2021-09-11 01:12:11.000000000 -0400
-+++ libgd-2.3.3.patched/config/config.sub 2022-01-05 15:38:17.115307773 -0500
-@@ -1390,7 +1390,7 @@
- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
- | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
-- | -midnightbsd*)
-+ | -midnightbsd* | -serenity*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- -qnx*)