summaryrefslogtreecommitdiff
path: root/libre/iceape/mozbug1329272.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-04-03 08:58:08 +0200
committerAndreas Grapentin <andreas@grapentin.org>2018-04-03 08:58:08 +0200
commita2a3e9288bb95a79d25cb9bb0ce61a24f975219a (patch)
treea7f3d2260bbc045925a3ed5b661745b36f6e4dbe /libre/iceape/mozbug1329272.patch
parentfee0f496dfad560a55b4613067bf9ef5da0dd0c9 (diff)
downloadabslibre-a2a3e9288bb95a79d25cb9bb0ce61a24f975219a.tar.gz
abslibre-a2a3e9288bb95a79d25cb9bb0ce61a24f975219a.tar.bz2
abslibre-a2a3e9288bb95a79d25cb9bb0ce61a24f975219a.zip
libre/iceape: updated to 2.49.2
Diffstat (limited to 'libre/iceape/mozbug1329272.patch')
-rw-r--r--libre/iceape/mozbug1329272.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/libre/iceape/mozbug1329272.patch b/libre/iceape/mozbug1329272.patch
new file mode 100644
index 000000000..81a4ebb78
--- /dev/null
+++ b/libre/iceape/mozbug1329272.patch
@@ -0,0 +1,31 @@
+
+# HG changeset patch
+# User Daniel Stenberg <daniel@haxx.se>
+# Date 1484000700 -3600
+# Node ID ebcbf47a83e7d3b89460cf1c991b6be5a79a967b
+# Parent 0759511f24e1b8d42acf5e9612f3ab91715842c2
+Bug 1329272 - add bracket for sed 4.3 compliance, r=glandium
+
+diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
+--- a/build/autoconf/icu.m4
++++ b/build/autoconf/icu.m4
+@@ -64,17 +64,17 @@ if test -n "$USE_ICU"; then
+ icudir="$_topsrcdir/intl/icu/source"
+ if test ! -d "$icudir"; then
+ icudir="$_topsrcdir/../../intl/icu/source"
+ if test ! -d "$icudir"; then
+ AC_MSG_ERROR([Cannot find the ICU directory])
+ 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
+ MOZ_ICU_VERSION="$version"
+
+ # TODO: the l is actually endian-dependent
+ # We could make this set as 'l' or 'b' for little or big, respectively,
+ # but we'd need to check in a big-endian version of the file.
+