perl: fix Segmentation fault

Signed-off-by: Esaaprilia Salsabila <esaapriliasalsabila@gmail.com>
This commit is contained in:
Esaaprilia Salsabila 2024-07-18 23:31:15 +08:00 committed by Rosen Penev
parent ac65b3cc32
commit 5a923168c8
3 changed files with 15 additions and 4 deletions

View 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

View 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'

View 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().
@ -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=''
}