diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-01-08 17:02:29 +0330 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-01-16 10:32:50 +0330 |
commit | cdd6d68b2ab56554e5ebcb61f0977534153530f1 (patch) | |
tree | a2b3363a79e143bc9b251349c8f72c351add8a71 /Ports/libgcrypt | |
parent | 87630c5fd58a3f292f13c06d5a48a7e7835a7aa1 (diff) | |
download | serenity-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/libgcrypt')
-rwxr-xr-x | Ports/libgcrypt/package.sh | 2 | ||||
-rw-r--r-- | Ports/libgcrypt/patches/configure.patch | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/Ports/libgcrypt/package.sh b/Ports/libgcrypt/package.sh index 3a4a3a2453..b7e022a391 100755 --- a/Ports/libgcrypt/package.sh +++ b/Ports/libgcrypt/package.sh @@ -2,6 +2,8 @@ port=libgcrypt version=1.9.2 useconfigure=true +use_fresh_config_sub=true +config_sub_path=build-aux/config.sub configopts=("--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local") depends=("libgpg-error") files="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2 libgcrypt-${version}.tar.bz2 b2c10d091513b271e47177274607b1ffba3d95b188bbfa8797f948aec9053c5a" diff --git a/Ports/libgcrypt/patches/configure.patch b/Ports/libgcrypt/patches/configure.patch deleted file mode 100644 index 645cb687d2..0000000000 --- a/Ports/libgcrypt/patches/configure.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur libgcrypt-1.9.2/build-aux/config.sub libgcrypt-1.9.2.serenity/build-aux/config.sub ---- libgcrypt-1.9.2/build-aux/config.sub 2019-06-23 17:35:08.000000000 +0200 -+++ libgcrypt-1.9.2.serenity/build-aux/config.sub 2021-04-14 01:14:04.895316310 +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* \ |