diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2024-04-02 22:28:48 +0200 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2024-04-03 01:23:31 +0200 |
commit | dd015eeb653cb73ab694196b5ce20d0a03fd8c16 (patch) | |
tree | 9515b043bab17377761d0ca4c0392d3eb222a654 /security/gnutls/files/patch-lib_compress.c | |
parent | security/gnutls: Add KTLS option and a few improvements (diff) |
security/gnutls: Fix zlib support
PR: 278104
Diffstat (limited to 'security/gnutls/files/patch-lib_compress.c')
-rw-r--r-- | security/gnutls/files/patch-lib_compress.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 = |