Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2024 23:24:58 GMT
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dd015eeb653c - main - security/gnutls: Fix zlib support
Message-ID:  <202404022324.432NOwDb086801@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tijl:

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

commit dd015eeb653cb73ab694196b5ce20d0a03fd8c16
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2024-04-02 20:28:48 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2024-04-02 23:23:31 +0000

    security/gnutls: Fix zlib support
    
    PR:             278104
---
 security/gnutls/Makefile                   |  2 +-
 security/gnutls/files/patch-lib_compress.c | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index 2151187cb697..c8f289e86ada 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gnutls
 DISTVERSION=	3.8.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net
 MASTER_SITES=	GNUPG/${PORTNAME}/v${DISTVERSION:R}
 
diff --git a/security/gnutls/files/patch-lib_compress.c b/security/gnutls/files/patch-lib_compress.c
new file mode 100644
index 000000000000..dcd4c6379c88
--- /dev/null
+++ b/security/gnutls/files/patch-lib_compress.c
@@ -0,0 +1,11 @@
+--- lib/compress.c.orig	2024-01-23 08:52:59 UTC
++++ lib/compress.c
+@@ -72,7 +72,7 @@ static int zlib_init(void)
+ #ifndef _WIN32
+ 	if (_zlib_handle != NULL)
+ 		return 0;
+-	if ((_zlib_handle = dlopen("libz.so.1", RTLD_NOW | RTLD_GLOBAL)) ==
++	if ((_zlib_handle = dlopen("libz.so.6", RTLD_NOW | RTLD_GLOBAL)) ==
+ 	    NULL)
+ 		goto error;
+ 	if ((_gnutls_zlib_compressBound =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404022324.432NOwDb086801>