ports: Add gmp port

This will be used by gcc
This commit is contained in:
Bananymous 2025-01-25 18:35:56 +02:00
parent caa8c1da90
commit 42500ce043
2 changed files with 17 additions and 0 deletions

5
ports/gmp/build.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash ../install.sh
NAME='gmp'
VERSION='6.3.0'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/gmp/gmp-$VERSION.tar.xz#a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"

View File

@ -0,0 +1,12 @@
diff -ruN gmp-6.3.0/configfsf.sub gmp-6.3.0-banan_os/configfsf.sub
--- gmp-6.3.0/configfsf.sub 2023-07-29 16:42:16.000000000 +0300
+++ gmp-6.3.0-banan_os/configfsf.sub 2024-08-07 21:37:12.147551767 +0300
@@ -1759,7 +1759,7 @@
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
- | fiwix* | mlibc* )
+ | fiwix* | mlibc* | banan_os* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)