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

This commit is contained in:
Tim Schumacher 2022-05-25 22:46:40 +02:00 committed by Linus Groh
parent 99cdafa5bc
commit bbd54a5a25
6 changed files with 4 additions and 33 deletions

View file

@ -7,3 +7,4 @@ workdir="apl-${version}"
configopts=("CXX_WERROR=no")
files="https://ftpmirror.gnu.org/gnu/apl/apl-${version}.tar.gz apl-${version}.tar.gz 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb"
auth_type=sha256
use_fresh_config_sub=true

View file

@ -1,7 +1,7 @@
From 579a391c43b9f0972205d565b3baf908cfd79330 Mon Sep 17 00:00:00 2001
From: Tobias Christiansen <tobyase@serenityos.org>
Date: Fri, 11 Mar 2022 19:01:35 +0100
Subject: [PATCH 1/4] Include fcntl find fcntl.h
Subject: [PATCH 1/3] Include fcntl find fcntl.h
`fcntl.h` was included as `sys/fcntl.h`, which is not where this lives in Serenity.

View file

@ -1,7 +1,7 @@
From 44e3ce1d066e2bcc574081ed828368974e0262a2 Mon Sep 17 00:00:00 2001
From: Tobias Christiansen <tobyase@serenityos.org>
Date: Fri, 11 Mar 2022 19:01:35 +0100
Subject: [PATCH 2/4] Stub out the performance report macro
Subject: [PATCH 2/3] Stub out the performance report macro
The Macro for performance reporting was throwing compile errors, so we just stub it out.
---

View file

@ -1,7 +1,7 @@
From c7d2b841f46831b159ed715cc5f313129ba6fb10 Mon Sep 17 00:00:00 2001
From: Tobias Christiansen <tobyase@serenityos.org>
Date: Fri, 11 Mar 2022 19:01:35 +0100
Subject: [PATCH 3/4] Remove use of sbrk()
Subject: [PATCH 3/3] Remove use of sbrk()
Again, for performance reporting the function `sbrk` is needed which we don't have. We just stub it out.
---

View file

@ -1,25 +0,0 @@
From b60680828e48ca362e86913de773a37b7a06bc74 Mon Sep 17 00:00:00 2001
From: Tobias Christiansen <tobyase@serenityos.org>
Date: Fri, 11 Mar 2022 19:01:35 +0100
Subject: [PATCH 4/4] Teach config.sub about serenity
---
config.sub | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.sub b/config.sub
index eb0389a..bde853e 100755
--- a/config.sub
+++ b/config.sub
@@ -1290,7 +1290,7 @@ case $os in
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -serenity* )
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
--
2.36.1

View file

@ -20,8 +20,3 @@ Remove use of sbrk()
Again, for performance reporting the function `sbrk` is needed which we don't have. We just stub it out.
## `0004-Teach-config.sub-about-serenity.patch`
Teach config.sub about serenity