summaryrefslogtreecommitdiff
path: root/Ports/libmodplug
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/libmodplug
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/libmodplug')
-rwxr-xr-xPorts/libmodplug/package.sh1
-rw-r--r--Ports/libmodplug/patches/config.sub.patch12
2 files changed, 1 insertions, 12 deletions
diff --git a/Ports/libmodplug/package.sh b/Ports/libmodplug/package.sh
index 4ea4d012bb..ffc7465e02 100755
--- a/Ports/libmodplug/package.sh
+++ b/Ports/libmodplug/package.sh
@@ -2,6 +2,7 @@
port=libmodplug
version=0.8.8.5
useconfigure=true
+use_fresh_config_sub=true
configopts=("ac_cv_c_bigendian=no")
files="https://download.sourceforge.net/modplug-xmms/libmodplug-${version}.tar.gz libmodplug-${version}.tar.gz 77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad"
auth_type=sha256
diff --git a/Ports/libmodplug/patches/config.sub.patch b/Ports/libmodplug/patches/config.sub.patch
deleted file mode 100644
index 64d1dc0b83..0000000000
--- a/Ports/libmodplug/patches/config.sub.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur libmodplug-0.8.8.5/config.sub libmodplug-0.8.8.5.serenity/config.sub
---- libmodplug-0.8.8.5/config.sub 2017-03-17 09:34:37.000000000 +0100
-+++ libmodplug-0.8.8.5.serenity/config.sub 2021-04-14 01:12:00.264606451 +0200
-@@ -1381,7 +1381,7 @@
- # The portable systems comes first.
- # Each alternative MUST END IN A *, to match a version number.
- # -sysv* is not here because it comes later, after sysvr4.
-- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
-+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* | -serenity* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- | -sym* | -kopensolaris* | -plan9* \