Skip to content

Commit

Permalink
perl: update to 5.38.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Nov 12, 2023
1 parent b6512f6 commit efdde0c
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 130 deletions.
6 changes: 3 additions & 3 deletions build/perl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

PROG=perl
PKG=runtime/perl
VER=5.36.1
VER=5.38.0
MAJVER=${VER%.*}
SUMMARY="Perl $MAJVER Programming Language"
DESC="A highly capable, feature-rich programming language"

CROSSVER=1.4.1
CROSSVER=1.5

set_arch 64
CTF_FLAGS+=" -s"
Expand Down Expand Up @@ -209,7 +209,7 @@ download_source $PROG $PROG $VER
patch_source
prep_build
build
run_testsuite
PATH="$GNUBIN:$PATH" run_testsuite
make_package
clean_up

Expand Down
4 changes: 2 additions & 2 deletions build/perl/patches-aarch64/nanosleep.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$d_nanosleep somehow ends up empty (instead of define/undef)
for cross builds which leads to a syntax error
diff -wpruN '--exclude=*.orig' a~/config_h.SH a/config_h.SH
diff -wpruN --no-dereference '--exclude=*.orig' a~/config_h.SH a/config_h.SH
--- a~/config_h.SH 1970-01-01 00:00:00
+++ a/config_h.SH 1970-01-01 00:00:00
@@ -3111,7 +3111,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#und
@@ -3116,7 +3116,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#und
* This symbol, if defined, indicates that the nanosleep
* system call is available to sleep with 1E-9 sec accuracy.
*/
Expand Down
Loading

0 comments on commit efdde0c

Please sign in to comment.