Clean up perl 5.16.3

This commit is contained in:
Samuel Tyler 2025-08-28 13:56:04 +10:00
parent b574ae96f8
commit 5f20fddc29
4 changed files with 19 additions and 6 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

@ -92,11 +92,6 @@ src_compile() {
src_install() {
default
# install regcharclass.h to the filesystem
# This is for the following version of perl, because the bootstrapping story
# is incredibly bad there!
#cp regcharclass.h "${DESTDIR}/${PREFIX}/lib/perl5/5.16.3/regcharclass.h"
# Remove messed up manpages
rm "${DESTDIR}/"*.0
}

View file

@ -1,11 +1,18 @@
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
From c7c816ac94667bf4ed1e6185ed79a70aeabaee97 Mon Sep 17 00:00:00 2001
From: Samuel Tyler <fosslinux@aussies.space>
Date: Thu, 21 Aug 2025 21:53:47 +1000
Subject: [PATCH] Revert "l1_char_class_tab.h: Add field for quotemeta"
The symbol _Perl_Quotemeta was added in the commit before this. We cannot
use that support in this build. But support is not needed in this build,
so we can remove it and just add the QUOTEMETA macros in the next build.
This reverts commit 9a022f3a9e4bafe265086ebafcf8f6990108aa57.
---
l1_char_class_tab.h | 234 +++++++++++++++++++--------------------
regen/mk_PL_charclass.pl | 3 -
2 files changed, 117 insertions(+), 120 deletions(-)

View file

@ -1,3 +1,10 @@
SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
Older versions of Bison produced 4 spaces before `goto yyerrlab`,
but ours produces more.
--- perl-5.16.3/x2p/Makefile.SH 2025-07-17 18:07:55.350717970 +1000
+++ perl-5.16.3/x2p/Makefile.SH 2025-07-17 18:09:02.340711269 +1000
@@ -123,7 +123,7 @@