Ports: Update gmp's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:38 +04:30 committed by Ali Mohammad Pur
parent 1f93ef2b83
commit 4876a943cd
3 changed files with 31 additions and 10 deletions

View file

@ -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

View file

@ -0,0 +1,7 @@
# Patches for gmp on SerenityOS
## `0001-Teach-configfsf.sub-about-serenity.patch`
Teach configfsf.sub about serenity

View file

@ -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* \