summaryrefslogtreecommitdiff
path: root/Ports/nasm/patches
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-14 11:50:09 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-14 13:13:21 +0200
commit1942c1061c1bdd37f7a0155684e169e56075e6e1 (patch)
treebdfa616e5f5c91e6132141dcbeadee31925f0c25 /Ports/nasm/patches
parent0a600a3c36ffc7b2edb6de91ba24d48a839913b7 (diff)
downloadserenity-1942c1061c1bdd37f7a0155684e169e56075e6e1.zip
Ports: Fix building the nasm port
Diffstat (limited to 'Ports/nasm/patches')
-rw-r--r--Ports/nasm/patches/config.sub.patch32
1 files changed, 12 insertions, 20 deletions
diff --git a/Ports/nasm/patches/config.sub.patch b/Ports/nasm/patches/config.sub.patch
index f172d9eef3..e04f9c2d45 100644
--- a/Ports/nasm/patches/config.sub.patch
+++ b/Ports/nasm/patches/config.sub.patch
@@ -1,20 +1,12 @@
---- nasm-2.15.05/autoconf/helpers/original-config.sub 2021-04-13 19:00:40.329393345 +0100
-+++ nasm-2.15.05/autoconf/helpers/config.sub 2021-04-13 19:02:01.489645184 +0100
-@@ -134,7 +134,7 @@
- nto-qnx* | linux-* | uclinux-uclibc* \
- | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
- | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
-- | storm-chaos* | os2-emx* | rtmk-nova*)
-+ | storm-chaos* | os2-emx* | rtmk-nova* | serenity)
- basic_machine=$field1
- basic_os=$maybe_os
- ;;
-@@ -1720,7 +1720,7 @@
- | skyos* | haiku* | rdos* | toppers* | drops* | es* \
- | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
- | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
-- | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*)
-+ | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | serenity*)
- ;;
- # This one is extra strict with allowed versions
- sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
+diff -Naur nasm-2.15.05/autoconf/helpers/config.sub nasm-2.15.05.serenity/autoconf/helpers/config.sub
+--- nasm-2.15.05/autoconf/helpers/config.sub 2020-08-28 18:04:07.000000000 +0200
++++ nasm-2.15.05.serenity/autoconf/helpers/config.sub 2021-04-14 11:44:38.324488456 +0200
+@@ -1333,7 +1333,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* | esix* | aix* | cnk* | sunos | sunos[34]*\
+ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
+ | sym* | kopensolaris* | plan9* \