summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/files/determinism.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-08-27 07:23:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-28 09:14:26 +0100
commitd5d82cb04e6b1dfd69c3d2f66e4699f9f432a31c (patch)
tree5af0ab43015ac980630c38271488203d0ed0302a /meta/recipes-devtools/perl/files/determinism.patch
parent9d51d325bad96466f539cd54fe14b86af40f1494 (diff)
downloadpoky-d5d82cb04e6b1dfd69c3d2f66e4699f9f432a31c.tar.gz
perl: update 5.38.2 -> 5.40.0
Update rdepends generator to account for new version specifiers (v{version} instead of just {version}) and exclude a few more external modules detected at runtime. Adjust musl configuration to set custom LC_ALL handling (musl doesn't follow glibc in that, see the last few comments here: https://github.com/Perl/perl5/issues/22375 ). Adjust ptest packaging to add a dummy Makefile for 'make perl releases' test (otherwise the packaging specifically excludes makefiles). (From OE-Core rev: 1c1cfae53564c836555ace926295cf88109b8c9f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/files/determinism.patch')
-rw-r--r--meta/recipes-devtools/perl/files/determinism.patch16
1 files changed, 11 insertions, 5 deletions
diff --git a/meta/recipes-devtools/perl/files/determinism.patch b/meta/recipes-devtools/perl/files/determinism.patch
index f2b1111552..bdb9a928bb 100644
--- a/meta/recipes-devtools/perl/files/determinism.patch
+++ b/meta/recipes-devtools/perl/files/determinism.patch
@@ -1,4 +1,7 @@
1Fixes to make the perl build reproducible: 1From 5c4fd57daf125357262aa796057d7be8e78d378e Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Wed, 5 Feb 2020 23:54:02 +0000
4Subject: [PATCH] Fixes to make the perl build reproducible:
2 5
3a) Remove the \n from configure_attr.sh since it gets quoted differently depending on 6a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
4 whether the shell is bash or dash which can cause the test result to be incorrect. 7 whether the shell is bash or dash which can cause the test result to be incorrect.
@@ -20,11 +23,14 @@ RP 2020/2/7
20 23
21Upstream-Status: Submitted [see links above] 24Upstream-Status: Submitted [see links above]
22Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 25Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
26---
27 cpan/Encode/Byte/Makefile.PL | 4 ++--
28 1 file changed, 2 insertions(+), 2 deletions(-)
23 29
24Index: perl-5.30.1/cpan/Encode/Byte/Makefile.PL 30diff --git a/cpan/Encode/Byte/Makefile.PL b/cpan/Encode/Byte/Makefile.PL
25=================================================================== 31index 6824bbb..4af4a50 100644
26--- perl-5.30.1.orig/cpan/Encode/Byte/Makefile.PL 32--- a/cpan/Encode/Byte/Makefile.PL
27+++ perl-5.30.1/cpan/Encode/Byte/Makefile.PL 33+++ b/cpan/Encode/Byte/Makefile.PL
28@@ -171,7 +171,7 @@ sub postamble 34@@ -171,7 +171,7 @@ sub postamble
29 my $lengthsofar = length($str); 35 my $lengthsofar = length($str);
30 my $continuator = ''; 36 my $continuator = '';