diff options
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/libpng/package.sh | 6 | ||||
-rw-r--r-- | Ports/libpng/patches/detect.patch | 11 |
3 files changed, 18 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 4241e542f8..506d38ced1 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -36,6 +36,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`libffi`](libffi/) | libffi | 3.3 | https://www.sourceware.org/libffi/ | | [`libiconv`](libiconv/) | GNU libiconv | 1.16 | https://www.gnu.org/software/libiconv/ | | [`libjpeg`](libjpeg/) | libjpeg | 9d | https://ijg.org/ | +| [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ | | [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy | | [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ | | [`links`](links/) | Links web browser | 2.19 | http://links.twibright.com/ | diff --git a/Ports/libpng/package.sh b/Ports/libpng/package.sh new file mode 100755 index 0000000000..b931579b05 --- /dev/null +++ b/Ports/libpng/package.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libpng +version=1.6.37 +useconfigure=true +files="https://download.sourceforge.net/libpng/libpng-${version}.tar.gz libpng-${version}.tar.gz" +workdir="libpng-$version" diff --git a/Ports/libpng/patches/detect.patch b/Ports/libpng/patches/detect.patch new file mode 100644 index 0000000000..12e01a882c --- /dev/null +++ b/Ports/libpng/patches/detect.patch @@ -0,0 +1,11 @@ +--- config.sub 2021-03-03 22:42:25.065684142 +0100 ++++ libpng-1.6.37/config.sub 2021-03-03 22:43:50.611720741 +0100 +@@ -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*) |