summaryrefslogtreecommitdiffstats
path: root/package/icu/icu-double-escape.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/icu/icu-double-escape.patch')
-rw-r--r--package/icu/icu-double-escape.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/icu/icu-double-escape.patch b/package/icu/icu-double-escape.patch
new file mode 100644
index 000000000..06c70cca9
--- /dev/null
+++ b/package/icu/icu-double-escape.patch
@@ -0,0 +1,17 @@
+We need to double-escape CC & CXX since we've got --sysroot and thus a space
+when cross-compiling.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura icu.orig/source/tools/icuinfo/Makefile.in icu/source/tools/icuinfo/Makefile.in
+--- icu.orig/source/tools/icuinfo/Makefile.in 2010-09-29 15:37:26.000000000 -0300
++++ icu/source/tools/icuinfo/Makefile.in 2010-12-21 13:36:45.393439756 -0300
+@@ -36,7 +36,7 @@
+
+ ICUINFO_OPTS=-i ../../data/out/build/$(ICUDATA_PLATFORM_NAME)
+
+-CPPFLAGS+= -DU_PLATFORM=\"@platform@\" -DU_BUILD=\"@build@\" -DU_HOST=\"@host@\" -DU_CC=\"@CC@\" -DU_CXX=\"@CXX@\"
++CPPFLAGS+= -DU_PLATFORM=\"@platform@\" -DU_BUILD=\"@build@\" -DU_HOST=\"@host@\" -DU_CC=\""@CC@\"" -DU_CXX=\""@CXX@\""
+ # -DENABLE_RELEASE=@ENABLE_RELEASE@ -DENABLE_DEBUG=@ENABLE_DEBUG@ "
+
+