aboutsummaryrefslogtreecommitdiff
path: root/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch')
-rw-r--r--network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch b/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch
new file mode 100644
index 0000000000000..078cf872373e9
--- /dev/null
+++ b/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch
@@ -0,0 +1,11 @@
+--- a/build/autoconf/icu.m4 2017-01-14 00:12:01.423712928 -0800
++++ b/build/autoconf/icu.m4 2017-01-14 00:17:50.332821372 -0800
+@@ -73,7 +73,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' "$icudir/common/unicode/uvernum.h"`
+ if test x"$version" = x; then
+ AC_MSG_ERROR([cannot determine icu version number from uvernum.h header file $lineno])
+ fi