Build the Compress::Raw::Zlib perl module with /usr/lib/libz
authortb <tb@openbsd.org>
Wed, 10 Aug 2022 07:50:16 +0000 (07:50 +0000)
committertb <tb@openbsd.org>
Wed, 10 Aug 2022 07:50:16 +0000 (07:50 +0000)
commit8bad623e4b15723c47418f65671f9f2b89e91f67
tree334475147c0ddd682efde0678b2c89ae3b8ceb89
parent4b593a930a431756927ff9116ec99b488b1a96f2
Build the Compress::Raw::Zlib perl module with /usr/lib/libz

Two actively used copies of zlib in base are enough. This simplifies
handling security fixes. Now that zlib.h r1.7 is reverted, zlib ffi
works fine on 32-bit architectures.

Compared with an earlier attempt in March, this disables the Z_SOLO build
option (problem found by gkoehler) and fixes two regress tests to work
with zlib 1.2.12. Corresponding upstream commits:
https://github.com/pmqs/Compress-Raw-Zlib/commit/c44e0b732e214b7f77d42a3af6ae64e
https://github.com/pmqs/Compress-Raw-Zlib/commit/f47ea5f36c40fe19efe404dd75fd790

ok bluhm
gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/Makefile.PL
gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/config.in
gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/t/02zlib.t