diff options
author | Noah Rosamilia <ivoahivoah@gmail.com> | 2022-01-06 18:27:35 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-07 02:12:51 +0100 |
commit | e570f9abc56b84590fff14117dacc85d91c6dab3 (patch) | |
tree | 29f03a9b02c53c0a18577898015fec655ee27313 /Ports | |
parent | 0631d3fed5623c1f2b0d6085ab24e4dd69c6ce99 (diff) | |
download | serenity-e570f9abc56b84590fff14117dacc85d91c6dab3.zip |
Ports: Add libgd
Required for npiet port
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/libgd/package.sh | 7 | ||||
-rw-r--r-- | Ports/libgd/patches/configure.patch | 12 |
3 files changed, 20 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index ac16c314a8..c4d00cc694 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -77,6 +77,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`libexpat`](libexpat/) | Expat | 2.2.9 | https://libexpat.github.io/ | | [`libffi`](libffi/) | libffi | 3.4.2 | https://www.sourceware.org/libffi/ | | [`libgcrypt`](libgcrypt/) | libgcrypt | 1.9.2 | https://gnupg.org/software/libgcrypt/index.html | +| [`libgd`](libgd/) | libgd | 2.3.3 | https://libgd.github.io/ | | [`libgpg-error`](libgpg-error/) | libgpg-error | 1.42 | https://gnupg.org/software/libgpg-error/index.html | | [`libiconv`](libiconv/) | GNU libiconv | 1.16 | https://www.gnu.org/software/libiconv/ | | [`libicu`](libicu/) | ICU | 69.1 | http://site.icu-project.org/ | diff --git a/Ports/libgd/package.sh b/Ports/libgd/package.sh new file mode 100755 index 0000000000..9b666b0583 --- /dev/null +++ b/Ports/libgd/package.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libgd +version=2.3.3 +useconfigure=true +files="https://github.com/libgd/libgd/releases/download/gd-${version}/libgd-${version}.tar.gz libgd-${version}.tar.gz dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2" +auth_type=sha256 +depends=("libpng") diff --git a/Ports/libgd/patches/configure.patch b/Ports/libgd/patches/configure.patch new file mode 100644 index 0000000000..9bca019e10 --- /dev/null +++ b/Ports/libgd/patches/configure.patch @@ -0,0 +1,12 @@ +diff -ruN libgd-2.3.3/config/config.sub libgd-2.3.3.patched/config/config.sub +--- libgd-2.3.3/config/config.sub 2021-09-11 01:12:11.000000000 -0400 ++++ libgd-2.3.3.patched/config/config.sub 2022-01-05 15:38:17.115307773 -0500 +@@ -1390,7 +1390,7 @@ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ +- | -midnightbsd*) ++ | -midnightbsd* | -serenity*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) |