Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144456930
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/archivers/minizip-ng/Makefile b/archivers/minizip-ng/Makefile
index c56b4b4953b5..6aeac3d4a9dd 100644
--- a/archivers/minizip-ng/Makefile
+++ b/archivers/minizip-ng/Makefile
@@ -1,31 +1,31 @@
PORTNAME= minizip-ng
-DISTVERSION= 4.0.10
+DISTVERSION= 4.1.0
CATEGORIES= archivers
MAINTAINER= vvd@FreeBSD.org
COMMENT= Fork of the popular minizip found in the zlib distribution
WWW= https://github.com/zlib-ng/minizip-ng
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libz-ng.so:archivers/zlib-ng \
libzstd.so:archivers/zstd
USES= cmake:testing iconv pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= zlib-ng
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_INSTALL_INCLUDEDIR=${LOCALBASE}/include/ \
-DMZ_LIB_SUFFIX=-ng
CMAKE_ON= BUILD_SHARED_LIBS CMAKE_DISABLE_FIND_PACKAGE_ZLIB
CMAKE_TESTING_ON= MZ_BUILD_TEST MZ_BUILD_UNIT_TEST
PLIST_SUB+= VERSION="${DISTVERSION}"
post-install:
${INSTALL_DATA} ${FILESDIR}/mz_compat.h \
${STAGEDIR}${PREFIX}/include/minizip-ng/
.include <bsd.port.mk>
diff --git a/archivers/minizip-ng/distinfo b/archivers/minizip-ng/distinfo
index 4ce39d1f6140..23ed43ba2005 100644
--- a/archivers/minizip-ng/distinfo
+++ b/archivers/minizip-ng/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746664252
-SHA256 (zlib-ng-minizip-ng-4.0.10_GH0.tar.gz) = c362e35ee973fa7be58cc5e38a4a6c23cc8f7e652555daf4f115a9eb2d3a6be7
-SIZE (zlib-ng-minizip-ng-4.0.10_GH0.tar.gz) = 773269
+TIMESTAMP = 1769234567
+SHA256 (zlib-ng-minizip-ng-4.1.0_GH0.tar.gz) = 85417229bb0cd56403e811c316150eea1a3643346d9cec7512ddb7ea291b06f2
+SIZE (zlib-ng-minizip-ng-4.1.0_GH0.tar.gz) = 601158
diff --git a/archivers/minizip-ng/files/patch-mz__strm__os__posix.c b/archivers/minizip-ng/files/patch-mz__strm__os__posix.c
new file mode 100644
index 000000000000..e37fa5962e39
--- /dev/null
+++ b/archivers/minizip-ng/files/patch-mz__strm__os__posix.c
@@ -0,0 +1,12 @@
+--- mz_strm_os_posix.c.orig 2026-01-21 21:52:59 UTC
++++ mz_strm_os_posix.c
+@@ -21,6 +21,9 @@
+ #include <errno.h>
+ #include <unistd.h> // open, close, ...
+ #include <fcntl.h> // O_NOFOLLOW, ...
++#ifdef __FreeBSD__
++#include <sys/stat.h>
++#endif
+
+ /***************************************************************************/
+
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Mar 29, 1:36 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28218323
Default Alt Text
(2 KB)
Attached To
Mode
R11 FreeBSD ports repository
Attached
Detach File
Event Timeline
Log In to Comment