summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-05-16 19:21:38 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-19 20:17:10 +0430
commit4876a943cd5c590fee0aed31ad835d00027dfc55 (patch)
treed3a30e3cc9aa00645750199ebb59bc58dcb7e95e /Ports
parent1f93ef2b83c47885c69272c4d3685858e1c9288e (diff)
downloadserenity-4876a943cd5c590fee0aed31ad835d00027dfc55.zip
Ports: Update gmp's patches to use git patches
Diffstat (limited to 'Ports')
-rw-r--r--Ports/gmp/patches/0001-Teach-configfsf.sub-about-serenity.patch24
-rw-r--r--Ports/gmp/patches/ReadMe.md7
-rw-r--r--Ports/gmp/patches/configfsf.sub.patch10
3 files changed, 31 insertions, 10 deletions
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 <bcoles@gmail.com>
+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* \