summaryrefslogtreecommitdiff
path: root/Ports/gawk
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/gawk
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/gawk')
-rwxr-xr-xPorts/gawk/package.sh1
-rw-r--r--Ports/gawk/patches/configure.patch12
2 files changed, 1 insertions, 12 deletions
diff --git a/Ports/gawk/package.sh b/Ports/gawk/package.sh
index aba484aa71..c948f94c14 100755
--- a/Ports/gawk/package.sh
+++ b/Ports/gawk/package.sh
@@ -2,6 +2,7 @@
port=gawk
version=5.1.0
useconfigure="true"
+use_fresh_config_sub=true
files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz.sig gawk-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
diff --git a/Ports/gawk/patches/configure.patch b/Ports/gawk/patches/configure.patch
index 63d0612b17..66a17eb7cd 100644
--- a/Ports/gawk/patches/configure.patch
+++ b/Ports/gawk/patches/configure.patch
@@ -1,15 +1,3 @@
-diff -ur a/config.sub b/config.sub
---- a/config.sub 2020-04-13 08:44:50.000000000 +0200
-+++ b/config.sub 2021-06-02 14:46:39.331046420 +0200
-@@ -1338,7 +1338,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* | serenity* | irix* \
- | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
- | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
- | sym* | kopensolaris* | plan9* \
diff -ur a/extension/build-aux/config.sub b/extension/build-aux/config.sub
--- a/extension/build-aux/config.sub 2020-04-13 08:44:50.000000000 +0200
+++ b/extension/build-aux/config.sub 2021-06-02 14:46:39.331046420 +0200