diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-30 11:52:59 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-06-30 11:52:59 +0100 |
commit | 00145d9c9bd28839ecf75b34c0ab874bd36b03e3 (patch) | |
tree | 36fd29e0bf2117ea9eecdc29233daa5be00e1224 | |
parent | 7cecb5b9ca7fef3ffe4f6f6cc6659df70c479c29 (diff) | |
download | poky-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.patch | 13 | ||||
-rw-r--r-- | meta/packages/icu/icu-3.6.inc | 3 | ||||
-rw-r--r-- | meta/packages/icu/icu-native_3.6.bb | 2 | ||||
-rw-r--r-- | meta/packages/icu/icu_3.6.bb | 2 |
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 @@ | |||
1 | Index: 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 | ||
2 | LICENSE = "ICU" | 2 | LICENSE = "ICU" |
3 | 3 | ||
4 | SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz" | 4 | SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \ |
5 | file://gccfix.patch;patch=1" | ||
5 | 6 | ||
6 | S = "${WORKDIR}/icu/source" | 7 | S = "${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 @@ | |||
1 | require icu-3.6.inc | 1 | require icu-3.6.inc |
2 | 2 | ||
3 | inherit native | 3 | inherit native |
4 | |||
5 | PR = "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 @@ | |||
1 | require icu-3.6.inc | 1 | require icu-3.6.inc |
2 | 2 | ||
3 | DEPENDS += "icu-native" | 3 | DEPENDS += "icu-native" |
4 | PR = "r3" | 4 | PR = "r4" |
5 | 5 | ||
6 | FULL_OPTIMIZATION_arm = "-Os" | 6 | FULL_OPTIMIZATION_arm = "-Os" |
7 | 7 | ||