Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions srcpkgs/perl/patches/fix_sig_count.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
fixup wrong NSIG https://github.com/arsv/perl-cross/issues/168

diff -ruN perl-5.42.3_orig/cnf/configure_sigs.sh perl-5.42.3/cnf/configure_sigs.sh
--- perl-5.42.3_orig/cnf/configure_sigs.sh 2026-11-17 22:26:32.739369702 -0800
+++ perl-5.42.3/cnf/configure_sigs.sh 2026-11-17 22:32:36.963959314 -0800
@@ -53,7 +53,7 @@
try_add 'configure check sig_count=NSIG'
try_dump
if try_preproc; then
- num=`grep 'configure check sig_count' try.out | sed -e 's/.*=//' -e 's/[^0-9]//g'`
+ num=$((`grep 'configure check sig_count' try.out | sed -e 's/.*=//'`))
if [ -n "$num" ]; then
define sig_count "$num"
result "$num"
6 changes: 1 addition & 5 deletions srcpkgs/perl/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'perl'
pkgname=perl
version=5.42.3
revision=1
revision=2
_perl_cross_version=1.6.4
build_style=gnu-configure
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel"
Expand Down Expand Up @@ -205,10 +205,6 @@ do_configure() {
cat ./config.log
return 42
}

# fixup wrong NSIG https://github.com/arsv/perl-cross/issues/168
sed -i -e "s/sig_count='641'/sig_count='65'/;
s/sig_count='1281'/sig_count='129'/" config.sh
}

do_check() {
Expand Down
Loading