summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl-cross/files/determinism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/determinism.patch')
-rw-r--r--meta/recipes-devtools/perl-cross/files/determinism.patch41
1 files changed, 24 insertions, 17 deletions
diff --git a/meta/recipes-devtools/perl-cross/files/determinism.patch b/meta/recipes-devtools/perl-cross/files/determinism.patch
index e9bf752bcb..ef11b12a35 100644
--- a/meta/recipes-devtools/perl-cross/files/determinism.patch
+++ b/meta/recipes-devtools/perl-cross/files/determinism.patch
@@ -1,4 +1,7 @@
1Fixes to make the perl build reproducible: 1From 8fd84d6d760b21bad2c499b572951cc3f2235953 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.
@@ -8,7 +11,7 @@ b) Sort the order of the module lists from configure_mods.sh since otherwise
8 the result isn't the same leading to makefile differences. 11 the result isn't the same leading to makefile differences.
9 Reported upstream: https://github.com/arsv/perl-cross/issues/88 12 Reported upstream: https://github.com/arsv/perl-cross/issues/88
10 13
11c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst 14c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
12 there for good measure) 15 there for good measure)
13 This needs to go to upstream perl (not done) 16 This needs to go to upstream perl (not done)
14 17
@@ -20,12 +23,26 @@ RP 2020/2/7
20 23
21Upstream-Status: Pending [75% submitted] 24Upstream-Status: Pending [75% submitted]
22Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 25Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org
26---
27 cnf/configure | 2 +-
28 cnf/configure_mods.sh | 2 +-
29 2 files changed, 2 insertions(+), 2 deletions(-)
23 30
24Index: perl-5.30.1/cnf/configure_mods.sh 31diff --git a/cnf/configure b/cnf/configure
25=================================================================== 32index 2f451c6..86bc865 100755
26--- perl-5.30.1.orig/cnf/configure_mods.sh 33--- a/cnf/configure
27+++ perl-5.30.1/cnf/configure_mods.sh 34+++ b/cnf/configure
28@@ -82,7 +82,7 @@ extonlyif() { 35@@ -1,4 +1,4 @@
36-#!/bin/sh
37+#!/bin/bash
38
39 base=${0%/*}; test -z "$base" && base=.
40
41diff --git a/cnf/configure_mods.sh b/cnf/configure_mods.sh
42index d4ef5a7..8e88b48 100644
43--- a/cnf/configure_mods.sh
44+++ b/cnf/configure_mods.sh
45@@ -108,7 +108,7 @@ extonlyif() {
29 } 46 }
30 47
31 definetrimspaces() { 48 definetrimspaces() {
@@ -34,13 +51,3 @@ Index: perl-5.30.1/cnf/configure_mods.sh
34 define $1 "$v" 51 define $1 "$v"
35 } 52 }
36 53
37Index: perl-5.30.1/cnf/configure
38===================================================================
39--- perl-5.30.1.orig/cnf/configure
40+++ perl-5.30.1/cnf/configure
41@@ -1,4 +1,4 @@
42-#!/bin/sh
43+#!/bin/bash
44
45 base=${0%/*}; test -z "$base" && base=.
46