summaryrefslogtreecommitdiff
path: root/libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-18 06:04:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-01-18 06:04:00 -0300
commite4b3b1835ac5f8331051d918393746172fbda4f4 (patch)
tree4058adaf59f2f976850cf41b8f3c37946136f45d /libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch
parent3bcf53efee6c71a6a911e6aeebc87efccc0c6483 (diff)
downloadabslibre-e4b3b1835ac5f8331051d918393746172fbda4f4.tar.gz
abslibre-e4b3b1835ac5f8331051d918393746172fbda4f4.tar.bz2
abslibre-e4b3b1835ac5f8331051d918393746172fbda4f4.zip
iceweasel: add bracket for sed 4.3 compliance -> https://bugzilla.mozilla.org/show_bug.cgi?id=1329272
Diffstat (limited to 'libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch')
-rw-r--r--libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch b/libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch
new file mode 100644
index 000000000..ab0b26b67
--- /dev/null
+++ b/libre/iceweasel/add-bracket-for-sed-4.3-compliance.patch
@@ -0,0 +1,29 @@
+From 66fc64a75617ffc68f16780f60e39c1f368dfd41 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Mon, 9 Jan 2017 14:37:33 +0100
+Subject: [PATCH] bug 1329272: add bracket for sed 4.3 compliance, r=glandium
+
+---
+ build/autoconf/icu.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/autoconf/icu.m4 b/build/autoconf/icu.m4
+index 4f46345f435a..794ddcdf4e52 100644
+--- a/build/autoconf/icu.m4
++++ b/build/autoconf/icu.m4
+@@ -67,11 +67,11 @@ if test -n "$USE_ICU"; then
+ 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"
+
+--
+2.11.0
+