summaryrefslogtreecommitdiffstats
path: root/meta/packages/icu/files/gccfix.patch
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 /meta/packages/icu/files/gccfix.patch
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>
Diffstat (limited to 'meta/packages/icu/files/gccfix.patch')
-rw-r--r--meta/packages/icu/files/gccfix.patch13
1 files changed, 13 insertions, 0 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)