Clean up perl 5.36

This commit is contained in:
Samuel Tyler 2025-09-08 10:28:59 +10:00
parent 269c2e07fc
commit e9489cab46
5 changed files with 26 additions and 0 deletions

View file

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

View file

@ -46,6 +46,9 @@ src_prepare() {
mconf_dir=$(echo ../metaconfig*)
ln -s "$mconf_dir"/.package .
ln -s "$mconf_dir"/U .
# TODO This shouldn't be necessary, but I don't know how to fix it properly
# The problem is that these files produce duplicates in config.h which
# makes autodoc.pl very unhappy
touch U/modified/{d_openat.U,d_vsnprintf.U,d_sched_yield.U} # null it
metaconfig -m

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.36.3/dist/Devel-PPPort/PPPort_pm.PL perl-5.36.3/dist/Devel-PPPort/PPPort_pm.PL
index cfbfaeb8fa..f93e56df15 100644
--- perl-5.36.3/dist/Devel-PPPort/PPPort_pm.PL

View file

@ -1,3 +1,10 @@
SPDX-FileCopyrightText: 2021 Karl Williamson <khw@cpan.org>
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
builtin is not available in Perl 5.30. Remove the use of it for now.
From 2cbb69f4dff9a096b47771b8d7c64008458df57a Mon Sep 17 00:00:00 2001
From: Samuel Tyler <fosslinux@aussies.space>
Date: Sun, 7 Sep 2025 14:32:20 +1000

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.