Created attachment 247992 [details] Patch for pngcrush Fails to build with libpng 1.6.41 due to usage of undocumented feature to disable Adler32 checksums. Last release in 2017 and dead upstream, redirect users to graphics/oxipng or graphics/pngquant Reference: https://github.com/pnggroup/libpng/commit/269b753496180cdb3082d87b0cd907905593dee5
Unless desktop@ willing to enable PNG_DISABLE_ADLER32_CHECK_SUPPORTED in libpng 1.6.41, I'm fine with deprecation. I, personally, haven't even used pngcrush for a long time.
I'm using graphics/optipng for decades - very lightweight and lossless. graphics/pngquant - isn't lossless. graphics/oxipng - require rust.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2b4eb57621f1c96f678c210fe7d2474c904e295 commit e2b4eb57621f1c96f678c210fe7d2474c904e295 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-02-08 22:08:52 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-02-08 22:09:19 +0000 graphics/pngcrush: Mark BROKEN and set expiration date to 2024-02-29 Fails to build with libpng 1.6.41 due to usage of undocumented feature to disable Adler32 checksums. Last release in 2017 and dead upstream, redirect users to graphics/oxipng or graphics/pngquant Reference: https://github.com/pnggroup/libpng/commit/269b753496180cdb3082d87b0cd907905593dee5 PR: 276649 Reviewed by: Anton Saietskii <vsasjason@gmail.com> (maintainer) graphics/pngcrush/Makefile | 3 +++ 1 file changed, 3 insertions(+)
Committed, thanks
graphics/optipng isn't in list of alternatives… :-(
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=28cee973cc5c64c14c17bd0f66e4227934f7ec55 commit 28cee973cc5c64c14c17bd0f66e4227934f7ec55 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-03-17 12:59:10 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-03-17 13:02:57 +0000 www/fgallery: Remove PNGCRUSH option graphics/pngcrush no longer builds with libpng 1.6.41 or newer versions PR: 276649 Approved by: portmgr (blanket) www/fgallery/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)