From: Esaaprilia Salsabila Date: Thu, 18 Jul 2024 15:31:15 +0000 (+0800) Subject: perl: fix Segmentation fault X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5a923168c834157bc590c9b43de2c172dd934645;p=openwrt-packages.git perl: fix Segmentation fault Signed-off-by: Esaaprilia Salsabila --- diff --git a/lang/perl/Makefile b/lang/perl/Makefile index 2d1bcc24c..441cac5cd 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -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 diff --git a/lang/perl/files/base.config b/lang/perl/files/base.config index 5a9294477..67232b6d8 100644 --- a/lang/perl/files/base.config +++ b/lang/perl/files/base.config @@ -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' diff --git a/lang/perl/files/libc.config b/lang/perl/files/libc.config index 1b198981a..f3607c4ef 100644 --- a/lang/perl/files/libc.config +++ b/lang/perl/files/libc.config @@ -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(). @@ -40,4 +47,11 @@ 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='' }