perl: update to 5.36.0.

This commit is contained in:
Leah Neukirchen 2022-09-25 15:51:41 +02:00
parent 93414e290d
commit f52f4dd9d6
3 changed files with 93 additions and 51 deletions

View File

@ -62,7 +62,7 @@ liblto_plugin.so.0 gcc-4.7.3_1
libgcc_s.so.1 libgcc-4.4.0_1
libgo.so.16 libgo-10.2.0_1
libgccjit.so.0 libgccjit-10.2.1pre1_1
libperl.so.5.34 perl-5.34.0_1
libperl.so.5.36 perl-5.36.0_1
libgmp.so.10 gmp-5.0.1_1
libgmpxx.so.4 gmpxx-6.0.0_2
libmpfi.so.0 mpfi-1.5.3_1

View File

@ -0,0 +1,39 @@
From a31a5cddd6c52fd21976b9cbff303b966c4a3122 Mon Sep 17 00:00:00 2001
From: Alex Suykov <alex.suykov@gmail.com>
Date: Tue, 7 Jun 2022 17:50:03 +0300
Subject: [PATCH] enable multiplicity whenever ithreads are enabled
---
cnf/configure_misc.sh | 1 -
cnf/configure_thrd.sh | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/cnf/configure_misc.sh b/cnf/configure_misc.sh
index 77d73b4..33b1834 100644
--- a/cnf/configure_misc.sh
+++ b/cnf/configure_misc.sh
@@ -62,7 +62,6 @@ define usekernprocpathname 'undef'
define uselongdouble 'undef'
define usemallocwrap 'define'
define usemorebits 'undef'
-define usemultiplicity 'undef'
define usemymalloc 'n'
define usenamedanoncv 'undef'
define usenm 'false'
diff --git a/cnf/configure_thrd.sh b/cnf/configure_thrd.sh
index 6e63b68..8874a1d 100644
--- a/cnf/configure_thrd.sh
+++ b/cnf/configure_thrd.sh
@@ -14,9 +14,12 @@ if [ "$usethreads" = 'define' ]; then
define use5005threads 'undef'
result 'yes, ithreads'
fi
+
+ define usemultiplicity "$useithreads"
else
define useithreads 'undef'
define use5005threads 'undef'
+ define usemultiplicity 'undef'
result 'no'
msg "Disabling thread-related stuff"
fi

View File

@ -1,8 +1,8 @@
# Template file for 'perl'
pkgname=perl
version=5.34.1
version=5.36.0
revision=1
_perl_cross_version=1.3.7
_perl_cross_version=1.4
build_style=gnu-configure
hostmakedepends="less"
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
@ -14,128 +14,128 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://www.perl.org"
distfiles="https://www.cpan.org/src/5.0/perl-${version}.tar.gz
https://github.com/arsv/perl-cross/releases/download/${_perl_cross_version}/perl-cross-${_perl_cross_version}.tar.gz"
checksum="357951a491b0ba1ce3611263922feec78ccd581dddc24a446b033e25acf242a1
77f13ca84a63025053852331b72d4046c1f90ded98bd45ccedea738621907335"
checksum="e26085af8ac396f62add8a533c3a0ea8c8497d836f0689347ac5abd7b7a4e00a
be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91"
# Before updating this package to a new major version, run ${FILESDIR}/provides.pl
# against ${wrksrc} to find the list of built in packages.
provides="perl-Archive-Tar-2.38_1
perl-Attribute-Handlers-1.01_1
provides="perl-Archive-Tar-2.40_1
perl-Attribute-Handlers-1.02_1
perl-AutoLoader-5.74_1
perl-CPAN-2.28_1
perl-CPAN-2.33_1
perl-CPAN-Meta-2.150010_1
perl-CPAN-Meta-Requirements-2.140_1
perl-CPAN-Meta-YAML-0.018_1
perl-Carp-1.52_1
perl-Compress-Raw-Bzip2-2.101_1
perl-Compress-Raw-Zlib-2.101_1
perl-Compress-Raw-Bzip2-2.103_1
perl-Compress-Raw-Zlib-2.105_1
perl-Config-Perl-V-0.33_1
perl-DB_File-1.855_1
perl-Data-Dumper-2.179_1
perl-Devel-PPPort-3.62_1
perl-DB_File-1.857_1
perl-Data-Dumper-2.184_1
perl-Devel-PPPort-3.68_1
perl-Devel-SelfStubber-1.06_1
perl-Digest-1.19_1
perl-Digest-1.20_1
perl-Digest-MD5-2.58_1
perl-Digest-SHA-6.02_1
perl-Dumpvalue-1.21_1
perl-Encode-3.08.01_1
perl-Encode-3.17_1
perl-Env-1.05_1
perl-Exporter-5.76_1
perl-Exporter-5.77_1
perl-ExtUtils-CBuilder-0.280236_1
perl-ExtUtils-Constant-0.25_1
perl-ExtUtils-Install-2.20_1
perl-ExtUtils-MakeMaker-7.62_1
perl-ExtUtils-MakeMaker-7.64_1
perl-ExtUtils-Manifest-1.73_1
perl-ExtUtils-PL2Bat-0.004_1
perl-ExtUtils-ParseXS-3.43_1
perl-File-Fetch-1.00_1
perl-ExtUtils-ParseXS-3.45_1
perl-File-Fetch-1.04_1
perl-File-Path-2.18_1
perl-File-Temp-0.2311_1
perl-Filter-Simple-0.96_1
perl-Filter-Util-Call-1.60_1
perl-FindBin-1.52_1
perl-FindBin-1.53_1
perl-Getopt-Long-2.52_1
perl-HTTP-Tiny-0.076_1
perl-HTTP-Tiny-0.080_1
perl-I18N-Collate-1.02_1
perl-I18N-LangTags-0.45_1
perl-IO-1.46_1
perl-IO-Compress-2.102_1
perl-IO-1.50_1
perl-IO-Compress-2.106_1
perl-IO-Socket-IP-0.41_1
perl-IO-Zlib-1.11_1
perl-IPC-Cmd-1.04_1
perl-IPC-SysV-2.09_1
perl-JSON-PP-4.06_1
perl-Locale-Maketext-1.29_1
perl-JSON-PP-4.07_1
perl-Locale-Maketext-1.31_1
perl-Locale-Maketext-Simple-0.21.01_1
perl-MIME-Base64-3.16_1
perl-Math-BigInt-1.999818_1
perl-Math-BigInt-FastCalc-0.5009_1
perl-Math-BigRat-0.2614_1
perl-Math-BigInt-1.999830_1
perl-Math-BigInt-FastCalc-0.5012_1
perl-Math-BigRat-0.2621_1
perl-Math-Complex-1.59.02_1
perl-Memoize-1.03.01_1
perl-Module-CoreList-5.20220313_1
perl-Module-CoreList-5.20220520_1
perl-Module-Load-0.36_1
perl-Module-Load-Conditional-0.74_1
perl-Module-Loaded-0.08_1
perl-Module-Metadata-1.000037_1
perl-NEXT-0.68_1
perl-NEXT-0.69_1
perl-Net-Ping-2.74_1
perl-Params-Check-0.38_1
perl-PathTools-3.80_1
perl-PathTools-3.84_1
perl-Perl-OSType-1.010_1
perl-PerlIO-via-QuotedPrint-0.09_1
perl-Pod-Checker-1.74_1
perl-Pod-Escapes-1.07_1
perl-Pod-Perldoc-3.2801_1
perl-Pod-Simple-3.42_1
perl-Pod-Simple-3.43_1
perl-Pod-Usage-2.01_1
perl-Safe-2.43_1
perl-Scalar-List-Utils-1.55_1
perl-Scalar-List-Utils-1.62_1
perl-Search-Dict-1.07_1
perl-SelfLoader-1.26_1
perl-Socket-2.031_1
perl-Storable-3.23_1
perl-Socket-2.033_1
perl-Storable-3.26_1
perl-Sys-Syslog-0.36_1
perl-Term-ANSIColor-5.01_1
perl-Term-Cap-1.17_1
perl-Term-Complete-1.403_1
perl-Term-ReadLine-1.17_1
perl-Test-1.31_1
perl-Test-Harness-3.43_1
perl-Test-Simple-1.302183_1
perl-Test-Harness-3.44_1
perl-Test-Simple-1.302190_1
perl-Text-Abbrev-1.02_1
perl-Text-Balanced-2.04_1
perl-Text-ParseWords-3.30_1
perl-Text-Tabs-2013.0523_1
perl-Text-ParseWords-3.31_1
perl-Text-Tabs-2021.0814_1
perl-Thread-Queue-3.14_1
perl-Thread-Semaphore-2.13_1
perl-Tie-File-1.06_1
perl-Tie-RefHash-1.40_1
perl-Time-HiRes-1.9767_1
perl-Time-HiRes-1.9770_1
perl-Time-Local-1.30_1
perl-Time-Piece-1.3401_1
perl-Unicode-Collate-1.29_1
perl-Unicode-Normalize-1.28_1
perl-Win32-0.57_1
perl-Unicode-Collate-1.31_1
perl-Unicode-Normalize-1.31_1
perl-Win32-0.59_1
perl-Win32API-File-0.1203.01_1
perl-XSLoader-0.30_1
perl-XSLoader-0.31_1
perl-autodie-2.34_1
perl-autouse-1.11_1
perl-base-2.27_1
perl-bignum-0.51_1
perl-bignum-0.65_1
perl-constant-1.33_1
perl-encoding-warnings-0.13_1
perl-experimental-0.024_1
perl-if-0.0609_1
perl-experimental-0.028_1
perl-if-0.0610_1
perl-lib-0.65_1
perl-libnet-3.13_1
perl-parent-0.238_1
perl-perlfaq-5.20210411_1
perl-perlfaq-5.20210520_1
perl-podlators-5.008_1
perl-threads-2.26_1
perl-threads-shared-1.62_1
perl-version-0.9928_1"
perl-threads-2.27_1
perl-threads-shared-1.64_1
perl-version-0.9929_1"
for f in ${provides}; do
replaces+=" $($XBPS_UHELPER_CMD getpkgname ${f})>=0"
@ -143,6 +143,9 @@ done
post_extract() {
cp -a ../perl-cross-${_perl_cross_version}/* .
patch -p1 < ${FILESDIR}/multiplicity.patch
[ -n "${SOURCE_DATE_EPOCH}" ] && touch -h -d @$SOURCE_DATE_EPOCH patchlevel.h
}
do_configure() {