1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +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

@ -5,6 +5,8 @@ source version.sh
port=ruby
version=${RUBY_VERSION}
useconfigure="true"
use_fresh_config_sub=true
config_sub_path=tool/config.sub
files="${RUBY_ARCHIVE_URL} ${RUBY_ARCHIVE} ${RUBY_ARCHIVE_SHA256SUM}
https://cache.ruby-lang.org/pub/misc/logo/ruby-logo-kit.zip ruby-logo-kit.zip 7f0a980e09874d35d80b958949dc2460e683957de3d2494a1499aea9d9989055"
auth_type="sha256"

View file

@ -1,14 +1,3 @@
--- ruby-3.0.2/tool/config.sub 2021-07-07 03:08:35.000000000 -0700
+++ ruby-3.0.2/tool/config.sub 2021-09-15 10:18:47.677232027 -0700
@@ -1695,7 +1695,7 @@
# Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
+ gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
--- ruby-3.0.2/configure 2021-09-16 14:10:42.314091669 -0700
+++ ruby-3.0.2/configure 2021-09-18 19:14:21.633876942 -0700
@@ -28610,7 +28610,7 @@