1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 22:07:35 +00:00

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.
This commit is contained in:
Ali Mohammad Pur 2022-01-08 17:02:29 +03:30 committed by Ali Mohammad Pur
parent 87630c5fd5
commit cdd6d68b2a
135 changed files with 128 additions and 816 deletions

View file

@ -2,6 +2,7 @@
port=libexpat
version=2.2.9
useconfigure=true
use_fresh_config_sub=true
files="https://github.com/libexpat/libexpat/releases/download/R_2_2_9/expat-${version}.tar.xz expat-${version}.tar.xz
https://github.com/libexpat/libexpat/releases/download/R_2_2_9/expat-${version}.tar.xz.asc expat-${version}.tar.xz.asc"
workdir=expat-${version}

View file

@ -1,22 +0,0 @@
--- a/conftools/config.sub
+++ b/conftools/config.sub
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2018 Free Software Foundation, Inc.
-timestamp='2018-01-01'
+timestamp='2019-10-03'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1409,6 +1409,7 @@ case $os in
# 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* \
+ | -serenity* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* | -plan9* \
--
2.17.1