Revert previous. Use private copy of zlib in Compress::Raw::Zlib
authorbluhm <bluhm@openbsd.org>
Sun, 27 Mar 2022 09:53:04 +0000 (09:53 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 27 Mar 2022 09:53:04 +0000 (09:53 +0000)
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

index 30d14a6..d6701ff 100644 (file)
@@ -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