diff --git a/ports/gmp/build.sh b/ports/gmp/build.sh new file mode 100755 index 00000000..44fc2a83 --- /dev/null +++ b/ports/gmp/build.sh @@ -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" diff --git a/ports/gmp/patches/0001-add-banan_os-target.patch b/ports/gmp/patches/0001-add-banan_os-target.patch new file mode 100644 index 00000000..671e3d3e --- /dev/null +++ b/ports/gmp/patches/0001-add-banan_os-target.patch @@ -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*)