Here is an update to pngquant 2.18.0.
version 2.17 ------------ - fix for Unicode filenames on Windows - builds for ARM - small quality improvements version 2.16 ------------ - reduced stack usage, prevenitng stack overlfow in pathological cases Index: Makefile =================================================================== RCS file: /home/cvs/ports/graphics/pngquant/Makefile,v retrieving revision 1.5 diff -u -p -u -p -r1.5 Makefile --- Makefile 8 May 2022 09:39:33 -0000 1.5 +++ Makefile 9 Jun 2023 02:21:37 -0000 @@ -2,8 +2,7 @@ COMMENT = PNG compressor GH_ACCOUNT = kornelski GH_PROJECT = pngquant -GH_TAGNAME = 2.15.1 -REVISION = 0 +GH_TAGNAME = 2.18.0 CATEGORIES = graphics Index: distinfo =================================================================== RCS file: /home/cvs/ports/graphics/pngquant/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 28 May 2021 16:22:03 -0000 1.2 +++ distinfo 9 Jun 2023 02:21:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (pngquant-2.15.1.tar.gz) = JIVrKKykfteGM/piXrdLhXgtYtrMS8pjT87fL26VxLc= -SIZE (pngquant-2.15.1.tar.gz) = 71163 +SHA256 (pngquant-2.18.0.tar.gz) = Qk/0MuUd/Dz1/4ABrRtkGYhQaGxePCbs1Hfktp70+t4= +SIZE (pngquant-2.18.0.tar.gz) = 71187 Index: patches/patch-configure =================================================================== RCS file: /home/cvs/ports/graphics/pngquant/patches/patch-configure,v retrieving revision 1.2 diff -u -p -u -p -r1.2 patch-configure --- patches/patch-configure 11 Mar 2022 19:23:12 -0000 1.2 +++ patches/patch-configure 9 Jun 2023 00:17:59 -0000 @@ -3,19 +3,16 @@ Remove optimizations Index: configure --- configure.orig +++ configure -@@ -291,15 +291,6 @@ status "Compiler" "$CC" - CFLAGS=${CFLAGS:--fno-math-errno -funroll-loops -fomit-frame-pointer -Wall} - cflags "-std=c99 -I." +@@ -293,10 +293,10 @@ cflags "-std=c99 -I." --# DEBUG --if [ -z "$DEBUG" ]; then + # DEBUG + if [ -z "$DEBUG" ]; then - cflags "-O3 -DNDEBUG" -- status "Debug" "no" --else ++ cflags "-DNDEBUG" + status "Debug" "no" + else - cflags "-O1 -g -DDEBUG" -- status "Debug" "yes" --fi -- - # SSE - if [ "$SSE" = 'auto' ]; then - SSE=0 ++ cflags "-g -DDEBUG" + status "Debug" "yes" + fi + Index: patches/patch-test_test_sh =================================================================== RCS file: patches/patch-test_test_sh diff -N patches/patch-test_test_sh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-test_test_sh 9 Jun 2023 02:20:57 -0000 @@ -0,0 +1,9 @@ +Index: test/test.sh +--- test/test.sh.orig ++++ test/test.sh +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/usr/bin/env bash + set -eu + set -o pipefail +