summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/files/determinism.patch
diff options
context:
space:
mode:
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 = '';