ports: Add expat port

This commit is contained in:
Bananymous 2025-06-24 23:07:16 +03:00
parent dba32fb95d
commit fe804c123d
2 changed files with 17 additions and 0 deletions

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

@ -0,0 +1,5 @@
#!/bin/bash ../install.sh
NAME='expat'
VERSION='2.7.1'
DOWNLOAD_URL="https://github.com/libexpat/libexpat/releases/download/R_2_7_1/expat-$VERSION.tar.gz#0cce2e6e69b327fc607b8ff264f4b66bdf71ead55a87ffd5f3143f535f15cfa2"

View File

@ -0,0 +1,12 @@
diff -ruN expat-2.7.1/conftools/config.sub expat-2.7.1-banan_os/conftools/config.sub
--- expat-2.7.1/conftools/config.sub 2022-07-27 15:26:54.000000000 +0300
+++ expat-2.7.1-banan_os/conftools/config.sub 2025-06-17 11:51:49.876848002 +0300
@@ -1775,7 +1775,7 @@
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
- | fiwix* )
+ | fiwix* | banan_os* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)