archrelease: copy trunk to extra-x86_64
[arch-packages.git] / js38 / trunk / mozjs38-add-bracket.patch
blob873697d18f244b4b1ccf376427372bb64410b2b3
1 Add bracket for sed 4.3 compliance
3 Based on upstream fix by Daniel Stenberg in 09 jan 2017
4 See: https://hg.mozilla.org/mozilla-central/rev/ebcbf47a83e7
6 --- a/js/src/configure 2017-02-21 16:56:42.350105741 -0300
7 +++ b/js/src/configure 2017-02-21 17:33:13.183493978 -0300
8 @@ -15231,7 +15231,7 @@
9 fi
12 - version=`sed -n 's/^[:space:]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
13 + version=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "$icudir/common/unicode/uvernum.h"`
14 if test x"$version" = x; then
15 { echo "configure: error: cannot determine icu version number from uvernum.h header file $lineno" 1>&2; echo "configure: error: cannot determine icu version number from uvernum.h header file $lineno" 1>&5; exit 1; }