From e1468233441a0a705b456162ebc426fd2612b2e0 Mon Sep 17 00:00:00 2001 From: bluhm Date: Fri, 25 Mar 2022 11:38:11 +0000 Subject: [PATCH] Build Perl module Compress::Raw::Zlib with zlib from /usr/lib/libz.so instead of the sources that are packaged with Perl. This allows us to apply security fixes for userland base in one place. Zlib.so is used with dlopen(3) and gets a new library dependency to libz. Before zlib objects from zlib-src were linked statically. OK tb@ --- gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in b/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in index d6701ffb0cf..30d14a6b220 100644 --- a/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in +++ b/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in @@ -16,9 +16,9 @@ # Setting the Gzip OS Code # -BUILD_ZLIB = True -INCLUDE = ./zlib-src -LIB = ./zlib-src +BUILD_ZLIB = False +INCLUDE = /usr/include +LIB = /usr/lib OLD_ZLIB = False GZIP_OS_CODE = AUTO_DETECT -- 2.20.1