Ports: Replace the gsl config.sub patch with our download

This commit is contained in:
Tim Schumacher 2022-05-25 22:20:15 +02:00 committed by Linus Groh
parent aa18adc43f
commit 7ceccb7b82
4 changed files with 3 additions and 52 deletions

View file

@ -8,3 +8,4 @@ https://ftp.gnu.org/gnu/gsl/gsl-${version}.tar.gz.sig gsl-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type=sig
auth_opts=("--keyring" "./gnu-keyring.gpg" "gsl-${version}.tar.gz.sig")
use_fresh_config_sub=true

View file

@ -1,7 +1,7 @@
From 4476d98e7c01bf1d5f45fe24a28ceac279949454 Mon Sep 17 00:00:00 2001
From: Rodrigo Tobar <rtobarc@gmail.com>
Date: Wed, 8 Sep 2021 00:13:16 +0800
Subject: [PATCH 2/2] Make configure pass all dependency checks for serenity
Subject: [PATCH 1/1] Make configure pass all dependency checks for serenity
---
configure | 4 ++++

View file

@ -1,45 +0,0 @@
From 54f21f92a7076d5e853f9ca37c57f34d54d01c67 Mon Sep 17 00:00:00 2001
From: Rodrigo Tobar <rtobarc@gmail.com>
Date: Wed, 8 Sep 2021 00:13:16 +0800
Subject: [PATCH 1/2] Teach config.sub about serenity
---
config.sub | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/config.sub b/config.sub
index c765b34..c524678 100755
--- a/config.sub
+++ b/config.sub
@@ -117,7 +117,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | *serenity* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
@@ -1277,6 +1277,9 @@ case $basic_machine in
we32k)
basic_machine=we32k-att
;;
+ *serenity*)
+ basic_machine="${SERENITY_ARCH}-pc"
+ ;;
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
@@ -1404,6 +1407,9 @@ case $os in
-linux*)
os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;
+ *-serenity*)
+ os=-serenity
+ ;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`
;;
--
2.36.1

View file

@ -1,11 +1,6 @@
# Patches for gsl on SerenityOS
## `0001-Teach-config.sub-about-serenity.patch`
Teach config.sub about serenity
## `0002-Make-configure-pass-all-dependency-checks-for-sereni.patch`
## `0001-Make-configure-pass-all-dependency-checks-for-sereni.patch`
Make configure pass all dependency checks for serenity