aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl/zlib-no-zsolo.patch
diff options
context:
space:
mode:
authorrubicon <5662-rubicon@users.gitlab.alpinelinux.org>2022-05-30 14:00:08 +0800
committerpsykose <alice@ayaya.dev>2022-06-08 08:56:57 +0200
commitfe007a2dc995a7ffe5154e3cdedf5d870a79ac0e (patch)
treea08c9ef523d41f39086e839b2d097bac21ba7d0d /main/perl/zlib-no-zsolo.patch
parentb66ec78d3903ad584335d58b4a37c23fec965587 (diff)
downloadaports-fe007a2dc995a7ffe5154e3cdedf5d870a79ac0e.tar.gz
aports-fe007a2dc995a7ffe5154e3cdedf5d870a79ac0e.tar.bz2
aports-fe007a2dc995a7ffe5154e3cdedf5d870a79ac0e.tar.xz
main/perl: upgrade to 5.36.0
removed zlib-test.patch that has been applied upstream. also run tests in parallel, this cuts down the time required to finish building Perl from 20 to 4 minutes (on x86_64). Test options are modified from Perl's documentation (the "Parallel tests" section of `perldoc perlhack`), by using HARNESS_OPTIONS instead of TEST_JOBS, as this provides an additional check that $JOBS is a number, and handles the case when $JOBS is not set, by giving it a default of 9. a new zlib-no-zsolo.patch has been added that removes "-DZ_SOLO" from Compress::Raw::Zlib's Makefile.PL. This issue has been reported upstream and will be fixed soon: https://github.com/pmqs/Compress-Raw-Zlib/issues/12 .
Diffstat (limited to 'main/perl/zlib-no-zsolo.patch')
-rw-r--r--main/perl/zlib-no-zsolo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/perl/zlib-no-zsolo.patch b/main/perl/zlib-no-zsolo.patch
new file mode 100644
index 0000000000..80bcf3ba4d
--- /dev/null
+++ b/main/perl/zlib-no-zsolo.patch
@@ -0,0 +1,11 @@
+--- a/cpan/Compress-Raw-Zlib/Makefile.PL
++++ b/cpan/Compress-Raw-Zlib/Makefile.PL
+@@ -91,7 +91,7 @@
+ NAME => 'Compress::Raw::Zlib',
+ VERSION_FROM => 'lib/Compress/Raw/Zlib.pm',
+ INC => $OPT_ZLIB_INCLUDE ,
+- DEFINE => "-DNO_VIZ -DZ_SOLO $OLD_ZLIB $WALL $OPT_Z_PREFIX -DGZIP_OS_CODE=$GZIP_OS_CODE $USE_PPPORT_H -DPerl_crz_BUILD_ZLIB=$BUILD_ZLIB" ,
++ DEFINE => "-DNO_VIZ $OLD_ZLIB $WALL $OPT_Z_PREFIX -DGZIP_OS_CODE=$GZIP_OS_CODE $USE_PPPORT_H -DPerl_crz_BUILD_ZLIB=$BUILD_ZLIB" ,
+ XS => { 'Zlib.xs' => 'Zlib.c'},
+ 'depend' => { 'Makefile' => 'config.in' },
+ 'clean' => { FILES => '*.c constants.h constants.xs' },