diff options
author | Zach van Rijn <me@zv.io> | 2022-01-08 03:34:49 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-05-01 17:05:40 -0500 |
commit | cd541fffcb40c907725e0768045e9b827b473ceb (patch) | |
tree | 5179432c3c083f802f67b40bee8d6487e71330dd /system/perl | |
parent | 410d3c998735f2db932e18d624d3876e0bfda6e5 (diff) | |
download | packages-cd541fffcb40c907725e0768045e9b827b473ceb.tar.gz packages-cd541fffcb40c907725e0768045e9b827b473ceb.tar.bz2 packages-cd541fffcb40c907725e0768045e9b827b473ceb.tar.xz packages-cd541fffcb40c907725e0768045e9b827b473ceb.zip |
system/perl: use Alpine patch to fix #436
Diffstat (limited to 'system/perl')
-rw-r--r-- | system/perl/APKBUILD | 2 | ||||
-rw-r--r-- | system/perl/musl-stack-size.patch | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/system/perl/APKBUILD b/system/perl/APKBUILD index 88d72cf5a..adb76b6c4 100644 --- a/system/perl/APKBUILD +++ b/system/perl/APKBUILD @@ -15,6 +15,7 @@ makedepends="bzip2-dev zlib-dev" subpackages="$pkgname-doc $pkgname-dev" source="https://www.cpan.org/src/5.0/perl-$pkgver.tar.gz musl-locale.patch + musl-stack-size.patch CVE-2021-36770.patch " @@ -113,4 +114,5 @@ dev() { sha512sums="3bd2ae3900df54801b42a1ab1c136b20438f3a162d88c1e030c5d91e96ad5cf76d5ccbcf9e75388fa29bcc26db0b1c5df3d1240d48136159462c912c9258d405 perl-5.34.0.tar.gz a78b5fb1a2b6f60b401329cfd2d8349d4fdcc19628cde0e9b840b82e1a02e705f7d7413fe206aa13ed714ab93a65b62ac3d85dfd526ca8048621d5d89b22f0ef musl-locale.patch +c004d6612ec754e5947255a2e2d15b5581f187c32495aeeec9f4fa286919bd9f40c72b63db61e3f4004b09288af2063a6a14b67e5c289e9a8b23ebd7c216e16f musl-stack-size.patch 2eb4986ac56f394e584ed5b16be40ccc0b689512fc23746588a3947db49c53be96dbbc25b8256513142c7a613481ea11b9154dfd4d0a67f05ef0662fedfd476a CVE-2021-36770.patch" diff --git a/system/perl/musl-stack-size.patch b/system/perl/musl-stack-size.patch new file mode 100644 index 000000000..08a9ef0e8 --- /dev/null +++ b/system/perl/musl-stack-size.patch @@ -0,0 +1,16 @@ +Tests fails on s390x due to low thread stack size +upstream report: https://github.com/Perl/perl5/issues/18160 + +diff --git a/t/thread_it.pl b/t/thread_it.pl +index f38a580..e8c450a 100644 +--- a/t/thread_it.pl ++++ b/t/thread_it.pl +@@ -36,7 +36,7 @@ my $curr = threads->create({ + stack_size => $^O eq 'hpux' ? 524288 : + $^O eq 'darwin' ? 2000000: + $^O eq 'VMS' ? 150000 : +- $^O eq 'aix' ? 1500000 : 0, ++ $^O eq 'aix' ? 1500000 : 256*1024, + }, sub { + run_tests(); + return defined &curr_test ? curr_test() : () |