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/SDL2_net | |
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/SDL2_net')
-rwxr-xr-x | Ports/SDL2_net/package.sh | 1 | ||||
-rw-r--r-- | Ports/SDL2_net/patches/configure.patch | 12 |
2 files changed, 1 insertions, 12 deletions
diff --git a/Ports/SDL2_net/package.sh b/Ports/SDL2_net/package.sh index 9305f1fb59..fdec08db09 100755 --- a/Ports/SDL2_net/package.sh +++ b/Ports/SDL2_net/package.sh @@ -2,6 +2,7 @@ port=SDL2_net version=2.0.1 useconfigure=true +use_fresh_config_sub=true configopts=("--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local") files="https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${version}.tar.gz SDL2_net-${version}.tar.gz 15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21" auth_type=sha256 diff --git a/Ports/SDL2_net/patches/configure.patch b/Ports/SDL2_net/patches/configure.patch deleted file mode 100644 index bdae3d6027..0000000000 --- a/Ports/SDL2_net/patches/configure.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur SDL2_net-2.0.1/config.sub SDL2_net-2.0.1.serenity/config.sub ---- SDL2_net-2.0.1/config.sub 2016-01-03 08:57:09.000000000 +0100 -+++ SDL2_net-2.0.1.serenity/config.sub 2021-06-16 10:40:58.771380293 +0200 -@@ -1364,7 +1364,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* \ |