1 |
commit: 7bb8a9efebd6b2292734380bf7c0b65520d2efcc |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 3 19:44:00 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 3 19:44:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb8a9ef |
7 |
|
8 |
dev-libs/icu: Backport fix for bug 573294 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-libs/icu/files/icu-flagparser.patch | 13 +++++++++++++ |
13 |
dev-libs/icu/icu-56.1-r1.ebuild | 1 + |
14 |
2 files changed, 14 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/icu/files/icu-flagparser.patch b/dev-libs/icu/files/icu-flagparser.patch |
17 |
new file mode 100644 |
18 |
index 0000000..bd64276 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/icu/files/icu-flagparser.patch |
21 |
@@ -0,0 +1,13 @@ |
22 |
+Index: source/tools/toolutil/flagparser.c |
23 |
+=================================================================== |
24 |
+--- a/source/tools/toolutil/flagparser.c (revision 38080) |
25 |
++++ b/source/tools/toolutil/flagparser.c (revision 38081) |
26 |
+@@ -97,7 +97,7 @@ |
27 |
+ |
28 |
+ T_FileStream_close(f); |
29 |
+ |
30 |
+- if (U_FAILURE(*status)) { |
31 |
++ if (U_FAILURE(*status) && *status != U_BUFFER_OVERFLOW_ERROR) { |
32 |
+ return -1; |
33 |
+ } |
34 |
+ |
35 |
|
36 |
diff --git a/dev-libs/icu/icu-56.1-r1.ebuild b/dev-libs/icu/icu-56.1-r1.ebuild |
37 |
index e8a0e2b..3968b3a 100644 |
38 |
--- a/dev-libs/icu/icu-56.1-r1.ebuild |
39 |
+++ b/dev-libs/icu/icu-56.1-r1.ebuild |
40 |
@@ -34,6 +34,7 @@ src_prepare() { |
41 |
local variable |
42 |
|
43 |
epatch "${FILESDIR}/${PN}-remove-bashisms.patch" |
44 |
+ epatch "${FILESDIR}/${PN}-flagparser.patch" |
45 |
epatch_user |
46 |
|
47 |
# Disable renaming as it is stupind thing to do |