mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Set up 5.24 to build 5.30
This commit is contained in:
parent
97f6ac66ec
commit
81c9bf1a6e
5 changed files with 42 additions and 35 deletions
|
|
@ -3,6 +3,12 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
# change unicode files to 5.30 version, in particular mktables
|
||||
# This is required to have the necessary tables for 5.30 build
|
||||
mv ../perl-5.30.3/lib/unicore/{version,mktables,*.txt} lib/unicore/
|
||||
mv ../perl-5.30.3/lib/unicore/auxiliary/*.txt lib/unicore/auxiliary/
|
||||
mv ../perl-5.30.3/lib/unicore/extracted/*.txt lib/unicore/extracted/
|
||||
|
||||
default
|
||||
|
||||
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
SPDX-FileCopyrightText: 2015 Karl Williamson <public@khwilliamson.com>
|
||||
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: Artistic-1.0
|
||||
|
||||
This commit does not affect correctness of the script, and negative indexes are
|
||||
not supported in Perl 5.22.
|
||||
|
||||
From c5ea74f1efd612cda79d6ba3cb1430afdc2ab970 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Tyler <fosslinux@aussies.space>
|
||||
Date: Sun, 31 Aug 2025 12:21:46 +1000
|
||||
Subject: [PATCH] Revert "regen/mk_PL_charclass.pl: Suppress extra null array
|
||||
element"
|
||||
|
||||
This reverts commit e8368231412c57222c53c0dc1fac7f711fa051e2.
|
||||
---
|
||||
regen/mk_PL_charclass.pl | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git perl-5.24.4/regen/mk_PL_charclass.pl perl-5.24.4/regen/mk_PL_charclass.pl
|
||||
index 5b609e530b..0bee1ac2a0 100644
|
||||
--- perl-5.24.4/regen/mk_PL_charclass.pl
|
||||
+++ perl-5.24.4/regen/mk_PL_charclass.pl
|
||||
@@ -384,8 +384,6 @@ foreach my $charset (get_supported_code_pages()) {
|
||||
|
||||
$out[$index] .= ",\n";
|
||||
}
|
||||
- $out[-1] =~ s/,$//; # No trailing comma in the final entry
|
||||
-
|
||||
print $out_fh join "", @out;
|
||||
print $out_fh "\n" . get_conditional_compile_line_end();
|
||||
}
|
||||
--
|
||||
2.49.1
|
||||
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
From 00616fe6cbb2f183bdc8fa035d4730261733e732 Mon Sep 17 00:00:00 2001
|
||||
From: Karl Williamson <khw@cpan.org>
|
||||
Date: Sat, 23 Dec 2017 14:45:02 -0700
|
||||
Subject: [PATCH] Unicode::UCD.pm Add undocumented internal feature
|
||||
|
||||
This allows charprop() to be called on a Perl-internal-only property
|
||||
---
|
||||
lib/Unicode/UCD.pm | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git perl-5.24.4/lib/Unicode/UCD.pm perl-5.24.4/lib/Unicode/UCD.pm
|
||||
index 13c2c78598..b5125bd506 100644
|
||||
--- perl-5.24.4/lib/Unicode/UCD.pm
|
||||
+++ perl-5.24.4/lib/Unicode/UCD.pm
|
||||
@@ -694,14 +694,14 @@ that are internal-only.
|
||||
|
||||
=cut
|
||||
|
||||
-sub charprop ($$) {
|
||||
- my ($input_cp, $prop) = @_;
|
||||
+sub charprop ($$;$) {
|
||||
+ my ($input_cp, $prop, $internal_ok) = @_;
|
||||
|
||||
my $cp = _getcode($input_cp);
|
||||
croak __PACKAGE__, "::charprop: unknown code point '$input_cp'" unless defined $cp;
|
||||
|
||||
my ($list_ref, $map_ref, $format, $default)
|
||||
- = prop_invmap($prop);
|
||||
+ = prop_invmap($prop, $internal_ok);
|
||||
return undef unless defined $list_ref;
|
||||
|
||||
my $i = search_invlist($list_ref, $cp);
|
||||
--
|
||||
2.49.1
|
||||
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
http://www.cpan.org/src/5.0/perl-5.24.4.tar.xz 7f080287ff64750270689843ae945f02159a33cb8f2fc910248c15befba5db84
|
||||
http://www.cpan.org/src/5.0/perl-5.30.3.tar.xz 6967595f2e3f3a94544c35152f9a25e0cb8ea24ae45f4bf1882f2e33f4a400f4
|
||||
git://github.com/Perl/metaconfig~5.26.1 https://github.com/Perl/metaconfig/archive/5.26.1.tar.gz 4641f5127a55cf2e1e8f9253ec27fba10b5b77076b4163e7f4bdc7f670d1aaf0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue