Make 5.22.4 able to build 5.24

This commit is contained in:
Samuel Tyler 2025-09-01 11:00:48 +10:00
parent 073b7d0b54
commit 654e317725
4 changed files with 115 additions and 0 deletions

View file

@ -3,6 +3,12 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# change unicode files to 5.24 version, in particular mktables
# This is required to have the necessary tables for the 5.24 build
mv ../perl-5.24.4/lib/unicore/{version,mktables,*.txt} lib/unicore/
mv ../perl-5.24.4/lib/unicore/auxiliary/*.txt lib/unicore/auxiliary/
mv ../perl-5.24.4/lib/unicore/extracted/*.txt lib/unicore/extracted/
default
mv Compress-Raw-Zlib_config.in cpan/Compress-Raw-Zlib/config.in