diff --git a/steps/perl-5.16.3/files/Compress-Raw-Zlib_config.in b/steps/perl-5.16.3/files/Compress-Raw-Zlib_config.in index 3bbcf2f4..cbad2f99 100644 --- a/steps/perl-5.16.3/files/Compress-Raw-Zlib_config.in +++ b/steps/perl-5.16.3/files/Compress-Raw-Zlib_config.in @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 fosslinux +# +# SPDX-License-Identifier: MIT + BUILD_ZLIB = False INCLUDE = /usr/include LIB = /usr/lib/i386-unknown-linux-musl diff --git a/steps/perl-5.16.3/pass1.sh b/steps/perl-5.16.3/pass1.sh index 952ba603..0456a1c9 100755 --- a/steps/perl-5.16.3/pass1.sh +++ b/steps/perl-5.16.3/pass1.sh @@ -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 } diff --git a/steps/perl-5.16.3/patches/0001-Revert-l1_char_class_tab.h-Add-field-for-quotemeta.patch b/steps/perl-5.16.3/patches/0001-Revert-l1_char_class_tab.h-Add-field-for-quotemeta.patch index 1fa9d6ef..1a816be0 100644 --- a/steps/perl-5.16.3/patches/0001-Revert-l1_char_class_tab.h-Add-field-for-quotemeta.patch +++ b/steps/perl-5.16.3/patches/0001-Revert-l1_char_class_tab.h-Add-field-for-quotemeta.patch @@ -1,11 +1,18 @@ +SPDX-FileCopyrightText: 2025 fosslinux + +SPDX-License-Identifier: Artistic-1.0 + From c7c816ac94667bf4ed1e6185ed79a70aeabaee97 Mon Sep 17 00:00:00 2001 From: Samuel Tyler 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(-) diff --git a/steps/perl-5.16.3/patches/a2p-c-bison.patch b/steps/perl-5.16.3/patches/a2p-c-bison.patch index 451c2cdb..a9eb2873 100644 --- a/steps/perl-5.16.3/patches/a2p-c-bison.patch +++ b/steps/perl-5.16.3/patches/a2p-c-bison.patch @@ -1,3 +1,10 @@ +SPDX-FileCopyrightText: 2025 fosslinux + +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 @@