1*4882a593SmuzhiyunFixes to make the perl build reproducible: 2*4882a593Smuzhiyun 3*4882a593Smuzhiyuna) Remove the \n from configure_attr.sh since it gets quoted differently depending on 4*4882a593Smuzhiyun whether the shell is bash or dash which can cause the test result to be incorrect. 5*4882a593Smuzhiyun Reported upstream: https://github.com/arsv/perl-cross/issues/87 6*4882a593Smuzhiyun 7*4882a593Smuzhiyunb) Sort the order of the module lists from configure_mods.sh since otherwise 8*4882a593Smuzhiyun the result isn't the same leading to makefile differences. 9*4882a593Smuzhiyun Reported upstream: https://github.com/arsv/perl-cross/issues/88 10*4882a593Smuzhiyun 11*4882a593Smuzhiyunc) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst 12*4882a593Smuzhiyun there for good measure) 13*4882a593Smuzhiyun This needs to go to upstream perl (not done) 14*4882a593Smuzhiyun 15*4882a593Smuzhiyund) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash 16*4882a593Smuzhiyun and "" with dash 17*4882a593Smuzhiyun Reported upstream: https://github.com/arsv/perl-cross/issues/87 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunRP 2020/2/7 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunUpstream-Status: Pending [75% submitted] 22*4882a593SmuzhiyunSigned-off-by: Richard Purdie <richard.purdie@linuxfoundation.org 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunIndex: perl-5.30.1/cnf/configure_mods.sh 25*4882a593Smuzhiyun=================================================================== 26*4882a593Smuzhiyun--- perl-5.30.1.orig/cnf/configure_mods.sh 27*4882a593Smuzhiyun+++ perl-5.30.1/cnf/configure_mods.sh 28*4882a593Smuzhiyun@@ -82,7 +82,7 @@ extonlyif() { 29*4882a593Smuzhiyun } 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun definetrimspaces() { 32*4882a593Smuzhiyun- v=`echo "$2" | sed -r -e 's/\s+/ /g' -e 's/^\s+//' -e 's/\s+$//'` 33*4882a593Smuzhiyun+ v=`echo "$2" | sed -r -e 's/\s+/ /g' -e 's/^\s+//' -e 's/\s+$//' | xargs -n1 | LANG=C sort | xargs` 34*4882a593Smuzhiyun define $1 "$v" 35*4882a593Smuzhiyun } 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunIndex: perl-5.30.1/cnf/configure 38*4882a593Smuzhiyun=================================================================== 39*4882a593Smuzhiyun--- perl-5.30.1.orig/cnf/configure 40*4882a593Smuzhiyun+++ perl-5.30.1/cnf/configure 41*4882a593Smuzhiyun@@ -1,4 +1,4 @@ 42*4882a593Smuzhiyun-#!/bin/sh 43*4882a593Smuzhiyun+#!/bin/bash 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun base=${0%/*}; test -z "$base" && base=. 46*4882a593Smuzhiyun 47