Ports: Add libffi

This commit is contained in:
Sergey Bugaev 2020-09-10 18:03:32 +03:00 committed by Andreas Kling
parent 0fab0ee96a
commit 40fbdd4e9e
2 changed files with 17 additions and 0 deletions

5
Ports/libffi/package.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash ../.port_include.sh
port=libffi
version=3.3
useconfigure=true
files="ftp://sourceware.org/pub/libffi/libffi-${version}.tar.gz libffi-${version}.tar.gz"

View file

@ -0,0 +1,12 @@
--- a/config.sub 2019-10-31 17:49:54.000000000 +0300
+++ b/config.sub 2020-09-10 17:03:14.219589932 +0300
@@ -1417,7 +1417,8 @@
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
- | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
+ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* \
+ | -serenity* )
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)