Update libpng to 1.6.56 (#1922)

Fixes #1920

This also switches from Homebrew-installed `sha2`
to macOS-preinstalled `shasum`.
This commit is contained in:
Rangi
2026-04-08 20:58:41 -04:00
committed by GitHub
parent 6e13779b8b
commit 143d503c6c
4 changed files with 9 additions and 12 deletions
+3 -2
View File
@@ -1,13 +1,14 @@
#!/bin/bash
set -euo pipefail
pngver=1.6.53
pngver=1.6.56
arch="$1"
## Grab sources and check them
wget http://downloads.sourceforge.net/project/libpng/libpng16/$pngver/libpng-$pngver.tar.xz
echo 1d3fb8ccc2932d04aa3663e22ef5ef490244370f4e568d7850165068778d98d4 libpng-$pngver.tar.xz | sha256sum -c -
echo f7d8bf1601b7804f583a254ab343a6549ca6cf27d255c302c47af2d9d36a6f18 \*libpng-$pngver.tar.xz | \
sha256sum -c -
## Extract sources and patch them