summarylogtreecommitdiffstats
path: root/patch_js_src_configure.diff
blob: 48baaa362f7f94336e71f5777bcedd1522dbe85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur mozjs-45.0.2-orig/js/src/configure mozjs-45.0.2/js/src/configure
--- mozjs-45.0.2-orig/js/src/configure	2017-11-13 22:49:15.192084078 +0300
+++ mozjs-45.0.2/js/src/configure	2017-11-13 22:50:13.352676505 +0300
@@ -15906,7 +15906,7 @@
         fi
     fi
 
-    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"`
+    version=`sed -n 's/^[[:space:]]*#[[:space:]]*define[[:space:]][[:space:]]*U_ICU_VERSION_MAJOR_NUM[[:space:]][[:space:]]*\([0-9][0-9]*\)[[:space:]]*$/\1/p' "/usr/include/unicode/uvernum.h"`
     if test x"$version" = x; then
        { 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; }
     fi