summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-30 11:52:59 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-30 11:52:59 +0100
commit00145d9c9bd28839ecf75b34c0ab874bd36b03e3 (patch)
tree36fd29e0bf2117ea9eecdc29233daa5be00e1224
parent7cecb5b9ca7fef3ffe4f6f6cc6659df70c479c29 (diff)
downloadpoky-00145d9c9bd28839ecf75b34c0ab874bd36b03e3.tar.gz
icu: Add patch to fix issue with #elif and recent gcc versions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/icu/files/gccfix.patch13
-rw-r--r--meta/packages/icu/icu-3.6.inc3
-rw-r--r--meta/packages/icu/icu-native_3.6.bb2
-rw-r--r--meta/packages/icu/icu_3.6.bb2
4 files changed, 18 insertions, 2 deletions
diff --git a/meta/packages/icu/files/gccfix.patch b/meta/packages/icu/files/gccfix.patch
new file mode 100644
index 0000000000..9291e921d3
--- /dev/null
+++ b/meta/packages/icu/files/gccfix.patch
@@ -0,0 +1,13 @@
1Index: source/layoutex/ParagraphLayout.cpp
2===================================================================
3--- source.orig/layoutex/ParagraphLayout.cpp 2009-06-30 11:48:47.000000000 +0100
4+++ source/layoutex/ParagraphLayout.cpp 2009-06-30 11:49:06.000000000 +0100
5@@ -798,7 +798,7 @@
6
7 return nullLanguageCode;
8 }
9-#elif
10+#else
11
12 // TODO - dummy implementation for right now...
13 le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
diff --git a/meta/packages/icu/icu-3.6.inc b/meta/packages/icu/icu-3.6.inc
index 1c7eda21e2..be58fb1f44 100644
--- a/meta/packages/icu/icu-3.6.inc
+++ b/meta/packages/icu/icu-3.6.inc
@@ -1,7 +1,8 @@
1 1
2LICENSE = "ICU" 2LICENSE = "ICU"
3 3
4SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz" 4SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \
5 file://gccfix.patch;patch=1"
5 6
6S = "${WORKDIR}/icu/source" 7S = "${WORKDIR}/icu/source"
7 8
diff --git a/meta/packages/icu/icu-native_3.6.bb b/meta/packages/icu/icu-native_3.6.bb
index 887bfcac2f..90dd0c9378 100644
--- a/meta/packages/icu/icu-native_3.6.bb
+++ b/meta/packages/icu/icu-native_3.6.bb
@@ -1,3 +1,5 @@
1require icu-3.6.inc 1require icu-3.6.inc
2 2
3inherit native 3inherit native
4
5PR = "r1"
diff --git a/meta/packages/icu/icu_3.6.bb b/meta/packages/icu/icu_3.6.bb
index 5b341470ff..2df68f45e0 100644
--- a/meta/packages/icu/icu_3.6.bb
+++ b/meta/packages/icu/icu_3.6.bb
@@ -1,7 +1,7 @@
1require icu-3.6.inc 1require icu-3.6.inc
2 2
3DEPENDS += "icu-native" 3DEPENDS += "icu-native"
4PR = "r3" 4PR = "r4"
5 5
6FULL_OPTIMIZATION_arm = "-Os" 6FULL_OPTIMIZATION_arm = "-Os"
7 7