From f90d98f9f9ddb66fd5ea0c484ef1b391b8728a61 Mon Sep 17 00:00:00 2001 From: bluhm Date: Sun, 27 Mar 2022 09:53:04 +0000 Subject: [PATCH] Revert previous. Use private copy of zlib in Compress::Raw::Zlib again. The header zlib.h in our base uses z_off_t for fields total_in and total_out in struct z_stream_s. The rest of the world uses uLong there. This leads to an incompatibility when comiled with Perl. The pkg tools fail on i386. debugged by semarie@; discussed with 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 30d14a6b220..d6701ffb0cf 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 = False -INCLUDE = /usr/include -LIB = /usr/lib +BUILD_ZLIB = True +INCLUDE = ./zlib-src +LIB = ./zlib-src OLD_ZLIB = False GZIP_OS_CODE = AUTO_DETECT -- 2.20.1