Ports: Add libpng 1.6.37

This commit is contained in:
TheMorc 2021-03-03 23:01:04 +01:00 committed by Andreas Kling
parent a5d6962148
commit 538975b713
3 changed files with 18 additions and 0 deletions

View file

@ -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/ |

6
Ports/libpng/package.sh Executable file
View file

@ -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"

View file

@ -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*)