From 4876a943cd5c590fee0aed31ad835d00027dfc55 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 16 May 2022 19:21:38 +0430 Subject: [PATCH] Ports: Update gmp's patches to use git patches --- ...1-Teach-configfsf.sub-about-serenity.patch | 24 +++++++++++++++++++ Ports/gmp/patches/ReadMe.md | 7 ++++++ Ports/gmp/patches/configfsf.sub.patch | 10 -------- 3 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 Ports/gmp/patches/0001-Teach-configfsf.sub-about-serenity.patch create mode 100644 Ports/gmp/patches/ReadMe.md delete mode 100644 Ports/gmp/patches/configfsf.sub.patch diff --git a/Ports/gmp/patches/0001-Teach-configfsf.sub-about-serenity.patch b/Ports/gmp/patches/0001-Teach-configfsf.sub-about-serenity.patch new file mode 100644 index 0000000000..1ba22eee50 --- /dev/null +++ b/Ports/gmp/patches/0001-Teach-configfsf.sub-about-serenity.patch @@ -0,0 +1,24 @@ +From 09cd709c6d4b7e180b2ddff01f3f03ac658726b3 Mon Sep 17 00:00:00 2001 +From: Brendan Coles +Date: Thu, 8 Apr 2021 07:11:06 +0000 +Subject: [PATCH] Teach configfsf.sub about serenity + +--- + configfsf.sub | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configfsf.sub b/configfsf.sub +index 8167d08..ad8066a 100755 +--- a/configfsf.sub ++++ b/configfsf.sub +@@ -1691,6 +1691,7 @@ case $os in + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ ++ | serenity* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \ +-- +2.36.1 + diff --git a/Ports/gmp/patches/ReadMe.md b/Ports/gmp/patches/ReadMe.md new file mode 100644 index 0000000000..5c6aecd1ad --- /dev/null +++ b/Ports/gmp/patches/ReadMe.md @@ -0,0 +1,7 @@ +# Patches for gmp on SerenityOS + +## `0001-Teach-configfsf.sub-about-serenity.patch` + +Teach configfsf.sub about serenity + + diff --git a/Ports/gmp/patches/configfsf.sub.patch b/Ports/gmp/patches/configfsf.sub.patch deleted file mode 100644 index f9b442f185..0000000000 --- a/Ports/gmp/patches/configfsf.sub.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- gmp-6.2.1/configfsf.sub 2021-04-07 22:50:17.785886997 -0700 -+++ gmp-6.2.1/configfsf.sub.new 2021-04-07 22:50:15.041883314 -0700 -@@ -1691,6 +1691,7 @@ - # The portable systems comes first. - # Each alternative MUST end in a * to match a version number. - gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ -+ | serenity* \ - | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \ - | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ - | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \