diff options
author | Sergey Bugaev <bugaevc@serenityos.org> | 2020-09-10 18:03:32 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-10 19:57:38 +0200 |
commit | 40fbdd4e9e0e58c5db8133ca2d3b23046baebd1d (patch) | |
tree | 79d7efb4847c5946abae1f7cbf6b87f47d58fd8b /Ports/libffi | |
parent | 0fab0ee96a3533ea39ac321451b920cb4d9d05b3 (diff) | |
download | serenity-40fbdd4e9e0e58c5db8133ca2d3b23046baebd1d.zip |
Ports: Add libffi
Diffstat (limited to 'Ports/libffi')
-rwxr-xr-x | Ports/libffi/package.sh | 5 | ||||
-rw-r--r-- | Ports/libffi/patches/fix-autoconf.patch | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Ports/libffi/package.sh b/Ports/libffi/package.sh new file mode 100755 index 0000000000..a690be46e7 --- /dev/null +++ b/Ports/libffi/package.sh @@ -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" diff --git a/Ports/libffi/patches/fix-autoconf.patch b/Ports/libffi/patches/fix-autoconf.patch new file mode 100644 index 0000000000..b48ff5463a --- /dev/null +++ b/Ports/libffi/patches/fix-autoconf.patch @@ -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*) |