Here is an update to png 1.6.38.
Version 1.6.38 [September 14, 2022] Added configurations and scripts for continuous integration. Fixed various errors in the handling of tRNS, hIST and eXIf. Implemented many stability improvements across all platforms. Updated the internal documentation. Index: Makefile =================================================================== RCS file: /home/cvs/ports/graphics/png/Makefile,v retrieving revision 1.128 diff -u -p -u -p -r1.128 Makefile --- Makefile 1 Aug 2022 15:00:04 -0000 1.128 +++ Makefile 9 Oct 2022 00:06:57 -0000 @@ -1,9 +1,8 @@ COMMENT= library for manipulating PNG images -VERSION= 1.6.37 +VERSION= 1.6.38 DISTNAME= libpng-${VERSION} PKGNAME= png-${VERSION} -REVISION= 0 CATEGORIES= graphics DPB_PROPERTIES= parallel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} Index: distinfo =================================================================== RCS file: /home/cvs/ports/graphics/png/distinfo,v retrieving revision 1.60 diff -u -p -u -p -r1.60 distinfo --- distinfo 30 Apr 2019 14:46:48 -0000 1.60 +++ distinfo 9 Oct 2022 00:07:03 -0000 @@ -1,2 +1,2 @@ -SHA256 (libpng-1.6.37.tar.xz) = UF5wg001ODU3tkkeeuhkHxpL7Rh22/42EgH8gIaNiMo= -SIZE (libpng-1.6.37.tar.xz) = 1012272 +SHA256 (libpng-1.6.38.tar.xz) = s2g+i4ER6/bxrABOu2sMl1zTEOxGnZg2Q4jpztv6aL4= +SIZE (libpng-1.6.38.tar.xz) = 1023168 Index: patches/patch-Makefile_in =================================================================== RCS file: /home/cvs/ports/graphics/png/patches/patch-Makefile_in,v retrieving revision 1.2 diff -u -p -u -p -r1.2 patch-Makefile_in --- patches/patch-Makefile_in 11 Mar 2022 19:23:11 -0000 1.2 +++ patches/patch-Makefile_in 9 Oct 2022 00:08:33 -0000 @@ -3,7 +3,7 @@ Set the library soname to libpng instead Index: Makefile.in --- Makefile.in.orig +++ Makefile.in -@@ -761,7 +761,7 @@ EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNG +@@ -764,7 +764,7 @@ EXTRA_SCRIPTS = libpng-config libpng@PNGLIB_MAJOR@@PNG bin_SCRIPTS = @binconfigs@ # rules to build libpng, only build the old library on request @@ -12,7 +12,7 @@ Index: Makefile.in # EXTRA_LTLIBRARIES= libpng.la libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_SOURCES = png.c pngerror.c \ pngget.c pngmem.c pngpread.c pngread.c pngrio.c pngrtran.c \ -@@ -1008,8 +1008,10 @@ powerpc/powerpc_init.lo: powerpc/$(am__dirstamp) \ +@@ -1011,8 +1011,10 @@ powerpc/powerpc_init.lo: powerpc/$(am__dirstamp) \ powerpc/filter_vsx_intrinsics.lo: powerpc/$(am__dirstamp) \ powerpc/$(DEPDIR)/$(am__dirstamp) @@ -24,7 +24,7 @@ Index: Makefile.in contrib/tools/$(am__dirstamp): @$(MKDIR_P) contrib/tools @: > contrib/tools/$(am__dirstamp) -@@ -2383,9 +2385,9 @@ uninstall-libpng-pc: +@@ -2388,9 +2390,9 @@ uninstall-libpng-pc: install-library-links: @set -x; cd '$(DESTDIR)$(libdir)';\ for ext in $(EXT_LIST); do\ Index: patches/patch-libpng_pc_in =================================================================== RCS file: /home/cvs/ports/graphics/png/patches/patch-libpng_pc_in,v retrieving revision 1.3 diff -u -p -u -p -r1.3 patch-libpng_pc_in --- patches/patch-libpng_pc_in 11 Mar 2022 19:23:11 -0000 1.3 +++ patches/patch-libpng_pc_in 9 Oct 2022 00:08:26 -0000 @@ -4,7 +4,7 @@ Index: libpng.pc.in @@ -7,6 +7,6 @@ Name: libpng Description: Loads and saves PNG files Version: @PNGLIB_VERSION@ - Requires: zlib + Requires.private: zlib -Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ +Libs: -L${libdir} -lpng Libs.private: @LIBS@ Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/graphics/png/pkg/PLIST,v retrieving revision 1.33 diff -u -p -u -p -r1.33 PLIST --- pkg/PLIST 11 Mar 2022 19:23:11 -0000 1.33 +++ pkg/PLIST 9 Oct 2022 00:10:25 -0000 @@ -9,10 +9,10 @@ include/libpng16/pnglibconf.h include/png.h include/pngconf.h include/pnglibconf.h -lib/libpng.a +@static-lib lib/libpng.a lib/libpng.la @lib lib/libpng.so.${LIBpng_VERSION} -lib/libpng16.a +@static-lib lib/libpng16.a lib/libpng16.la @lib lib/libpng16.so.${LIBpng16_VERSION} lib/pkgconfig/libpng.pc