summaryrefslogtreecommitdiff
path: root/system/perl/musl-stack-size.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-01-08 03:34:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:40 -0500
commitcd541fffcb40c907725e0768045e9b827b473ceb (patch)
tree5179432c3c083f802f67b40bee8d6487e71330dd /system/perl/musl-stack-size.patch
parent410d3c998735f2db932e18d624d3876e0bfda6e5 (diff)
downloadpackages-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/musl-stack-size.patch')
-rw-r--r--system/perl/musl-stack-size.patch16
1 files changed, 16 insertions, 0 deletions
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() : ()