git: faec59008206 - main - archivers/minizip: update 1.2.11 → 1.3.1

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 01 Jul 2024 16:54:19 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=faec590082064c9129bedfe8b9c23f1f3d5f22f6

commit faec590082064c9129bedfe8b9c23f1f3d5f22f6
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-01 16:46:44 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-01 16:53:59 +0000

    archivers/minizip: update 1.2.11 → 1.3.1
    
    Changelog:
    https://github.com/madler/zlib/releases/tag/v1.2.13
    https://github.com/madler/zlib/releases/tag/v1.3
    https://github.com/madler/zlib/releases/tag/v1.3.1
---
 archivers/minizip/Makefile | 8 ++------
 archivers/minizip/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/archivers/minizip/Makefile b/archivers/minizip/Makefile
index 0ccdffc457cb..570a6962aa5a 100644
--- a/archivers/minizip/Makefile
+++ b/archivers/minizip/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	minizip
-PORTVERSION=	1.2.11
-PORTREVISION=	1
+DISTVERSION=	1.3.1
 CATEGORIES=	archivers
-MASTER_SITES=	SF/libpng/zlib/${PORTVERSION}
+MASTER_SITES=	https://github.com/madler/zlib/releases/download/v${DISTVERSION}/
 DISTNAME=	zlib-${PORTVERSION}
 
 MAINTAINER=	vvd@FreeBSD.org
@@ -19,9 +18,6 @@ CONFIGURE_ARGS=	--enable-demos
 INSTALL_TARGET=	install-strip
 WRKSRC=		${WRKDIR}/zlib-${PORTVERSION}/contrib/minizip
 
-post-patch:
-	@${REINPLACE_CMD} 's/#ifdef unix || __APPLE__/#ifdef unix/' ${WRKSRC}/mini???.c
-
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
diff --git a/archivers/minizip/distinfo b/archivers/minizip/distinfo
index ea2ab2204292..db1cf564a585 100644
--- a/archivers/minizip/distinfo
+++ b/archivers/minizip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502982914
-SHA256 (zlib-1.2.11.tar.xz) = 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066
-SIZE (zlib-1.2.11.tar.xz) = 467960
+TIMESTAMP = 1719840366
+SHA256 (zlib-1.3.1.tar.xz) = 38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32
+SIZE (zlib-1.3.1.tar.xz) = 1305740