Here is an update to minizip 4.1.0.
https://github.com/zlib-ng/minizip-ng/releases/tag/4.1.0 https://github.com/zlib-ng/minizip-ng/releases/tag/4.0.10 https://github.com/zlib-ng/minizip-ng/releases/tag/4.0.9 Index: Makefile =================================================================== RCS file: /cvs/ports/archivers/minizip/Makefile,v retrieving revision 1.16 diff -u -p -u -p -r1.16 Makefile --- Makefile 28 Jan 2025 14:38:28 -0000 1.16 +++ Makefile 26 Jan 2026 02:26:37 -0000 @@ -2,12 +2,11 @@ COMMENT = zip manipulation library GH_ACCOUNT = zlib-ng GH_PROJECT = minizip-ng -GH_TAGNAME = 4.0.8 +GH_TAGNAME = 4.1.0 PKGNAME = minizip-${GH_TAGNAME} -REVISION = 0 -SHARED_LIBS += minizip 3.2 # 4 +SHARED_LIBS += minizip 3.3 # 4 CATEGORIES = archivers Index: distinfo =================================================================== RCS file: /cvs/ports/archivers/minizip/distinfo,v retrieving revision 1.10 diff -u -p -u -p -r1.10 distinfo --- distinfo 27 Jan 2025 13:10:08 -0000 1.10 +++ distinfo 26 Jan 2026 02:26:37 -0000 @@ -1,2 +1,2 @@ -SHA256 (minizip-ng-4.0.8.tar.gz) = w+nOqyvsJsty66HPRtDix8rV0v463133fhfWu/6k7I8= -SIZE (minizip-ng-4.0.8.tar.gz) = 770957 +SHA256 (minizip-ng-4.1.0.tar.gz) = hUFyKbsM1WQD6BHDFhUO6ho2QzRtnOx1Et236ikbBvI= +SIZE (minizip-ng-4.1.0.tar.gz) = 601158 Index: patches/patch-mz_strm_os_posix_c =================================================================== RCS file: patches/patch-mz_strm_os_posix_c diff -N patches/patch-mz_strm_os_posix_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-mz_strm_os_posix_c 26 Jan 2026 02:26:37 -0000 @@ -0,0 +1,20 @@ +- Fix #941: fix undeclared identifier error of S_IWUSR + +Index: mz_strm_os_posix.c +--- mz_strm_os_posix.c.orig ++++ mz_strm_os_posix.c +@@ -17,10 +17,11 @@ + #include "mz_strm.h" + #include "mz_strm_os.h" + +-#include <stdio.h> /* fopen, fread.. */ ++#include <stdio.h> /* fopen, fread, ... */ + #include <errno.h> +-#include <unistd.h> // open, close, ... +-#include <fcntl.h> // O_NOFOLLOW, ... ++#include <sys/stat.h> /* S_IRUSR, S_IWUSR, ... */ ++#include <unistd.h> /* open, close, ... */ ++#include <fcntl.h> /* O_NOFOLLOW, ... */ + + /***************************************************************************/ +
