Clean up perl 5.42

This commit is contained in:
Samuel Tyler 2025-09-08 10:29:14 +10:00
parent fc08010f6d
commit 7da7883010
5 changed files with 28 additions and 0 deletions

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: MIT
BUILD_ZLIB = False
ZLIB_INCLUDE = /usr/include
ZLIB_LIB = /usr/lib/i386-unknown-linux-musl

View file

@ -1,3 +1,11 @@
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
my_sprintf appears to be broken.
This should not be necessary, but is; is most likely linked to metaconfig
problems.
diff --git perl-5.42.0/dist/Devel-PPPort/PPPort_pm.PL perl-5.42.0/dist/Devel-PPPort/PPPort_pm.PL
index cfbfaeb8fa..f93e56df15 100644
--- perl-5.42.0/dist/Devel-PPPort/PPPort_pm.PL

View file

@ -1,3 +1,11 @@
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
This should not be necessary, there is something weird going on here.
A number of #defines are hidden behind -DDEBUGGING that are required to build
the re extension but they are not used. Not sure why, this is a bit of a hack.
diff --git perl-5.42.0/ext/re/Makefile.PL perl-5.42.0/ext/re/Makefile.PL
index 01786e1ec2..cc4619bfc3 100644
--- perl-5.42.0/ext/re/Makefile.PL

View file

@ -1,3 +1,7 @@
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
Make mk_invlists work in 5.40.
diff --git perl-5.42.0/regen/mk_invlists.pl perl-5.42.0/regen/mk_invlists.pl

View file

@ -1,3 +1,7 @@
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
There is no way to regenerate this easily. It is merely a fallback for when the
previous fails and it will not fail with our perl.