From: Cory Maccarrone <darkstar6262@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [STABLE] [PATCH] icu: Add patch for dangling #elif expression
Date: Sat, 5 Dec 2009 11:00:02 -0800 [thread overview]
Message-ID: <1260039602-21665-1-git-send-email-darkstar6262@gmail.com> (raw)
This change adds a patch that fixes a compile error in
source/layoutex/ParagraphLayout.cpp caused by an
Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
---
recipes/icu/files/fix-elif-expression.patch | 11 +++++++++++
recipes/icu/icu-3.6.inc | 3 ++-
2 files changed, 13 insertions(+), 1 deletions(-)
create mode 100644 recipes/icu/files/fix-elif-expression.patch
diff --git a/recipes/icu/files/fix-elif-expression.patch b/recipes/icu/files/fix-elif-expression.patch
new file mode 100644
index 0000000..6021bee
--- /dev/null
+++ b/recipes/icu/files/fix-elif-expression.patch
@@ -0,0 +1,11 @@
+--- source/layoutex/ParagraphLayout.cpp 2006-08-22 17:12:42.000000000 -0700
++++ source/layoutex/ParagraphLayout.cpp-new 2009-12-05 10:35:04.728241416 -0800
+@@ -798,7 +798,7 @@
+
+ return nullLanguageCode;
+ }
+-#elif
++#else
+
+ // TODO - dummy implementation for right now...
+ le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
diff --git a/recipes/icu/icu-3.6.inc b/recipes/icu/icu-3.6.inc
index 04fc842..aaacd83 100644
--- a/recipes/icu/icu-3.6.inc
+++ b/recipes/icu/icu-3.6.inc
@@ -1,7 +1,8 @@
LICENSE = "ICU"
-SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz"
+SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \
+ file://fix-elif-expression.patch;patch=1"
S = "${WORKDIR}/icu/source"
--
1.6.3.3
next reply other threads:[~2009-12-05 19:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-05 19:00 Cory Maccarrone [this message]
2009-12-05 20:25 ` [STABLE] [PATCH] icu: Add patch for dangling #elif expression Philip Balister
2009-12-05 20:47 ` Cory Maccarrone
2009-12-05 22:35 ` Philip Balister
2009-12-06 17:04 ` Philip Balister
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1260039602-21665-1-git-send-email-darkstar6262@gmail.com \
--to=darkstar6262@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox