perl: fix Segmentation fault
authorEsaaprilia Salsabila <[email protected]>
Thu, 18 Jul 2024 15:31:15 +0000 (23:31 +0800)
committerRosen Penev <[email protected]>
Tue, 23 Jul 2024 01:48:26 +0000 (18:48 -0700)
Signed-off-by: Esaaprilia Salsabila <[email protected]>
lang/perl/Makefile
lang/perl/files/base.config
lang/perl/files/libc.config

index 2d1bcc24c1ad5650ef18481e4dde1758869b4a2f..441cac5cdc48ddb7c6dab4c56714001504d9f1ba 100644 (file)
@@ -11,7 +11,7 @@ include perlver.mk
 
 PKG_NAME:=perl
 PKG_VERSION:=$(PERL_VERSION)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=https://www.cpan.org/src/5.0
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
index 5a9294477febecb770885c13015698c7225617af..67232b6d83e70505e7e85ad6893a2661f4571f7f 100644 (file)
@@ -378,9 +378,6 @@ d_open3='define'
 d_openat='define'
 d_pathconf='define'
 d_pause='define'
-d_perl_lc_all_category_positions_init='undef'
-d_perl_lc_all_separator='undef'
-d_perl_lc_all_uses_name_value_pairs='define'
 d_perl_otherlibdirs='undef'
 d_phostname='undef'
 d_pipe='define'
index 1b198981a96f1590a398c6332b61eab071600fa0..f3607c4effd9462485a660cb4ad9b09e7c69d168 100644 (file)
@@ -1,6 +1,13 @@
 ($owrt:libc eq 'glibc') {
        perllibs="$perllibs -lbsd"
        ldflags="$ldflags -L$owrt:staging_dir/lib"
+       
+       d_perl_lc_all_category_positions_init='undef'
+       d_perl_lc_all_separator='undef'
+       d_perl_lc_all_uses_name_value_pairs='define'
+       
+       perl_lc_all_category_positions_init=''
+       perl_lc_all_separator=''
 }
 
 # uclibc does not provide crypt_r().
        i_fcntl='define'
        h_fcntl='true'
        d_strerror_r='undef'
+       
+       d_perl_lc_all_category_positions_init='define'
+       d_perl_lc_all_separator='undef'
+       d_perl_lc_all_uses_name_value_pairs='undef'
+       
+       perl_lc_all_category_positions_init='{ 0, 1, 5, 2, 3, 4 }'
+       perl_lc_all_separator=''
 }