summaryrefslogtreecommitdiffstats
path: root/network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch
diff options
context:
space:
mode:
author khronosschoty <khronosschoty@utmail.net>2017-01-14 19:08:52 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-14 19:08:52 +0700
commit87890603ee65c91bd7358ae6e2d292038f7337e0 (patch)
treeb91a9940c2556a29755c06dcd8a1b96c91b31510 /network/PaleMoon/icu.m4-adding-extra-bracket-to-not-confuse-grep.patch
parentc8aa17bc8867abba871a3d0a757bd95d2bbe5b8d (diff)
downloadslackbuilds-87890603ee65c91bd7358ae6e2d292038f7337e0.tar.gz
slackbuilds-87890603ee65c91bd7358ae6e2d292038f7337e0.tar.xz
network/PaleMoon: Add patch to support newer sed.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-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 0000000000..078cf87237
--- /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