1 |
commit: d5dc8e78ddcb7293d31bd54eef052aed39b3be7b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 19:01:00 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 19:01:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5dc8e78 |
7 |
|
8 |
media-libs/libfreehand: Fix build against ICU-65 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/699096 |
11 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../files/libfreehand-0.1.2-icu-65.patch | 26 ++++++++++++++++++++++ |
15 |
media-libs/libfreehand/libfreehand-0.1.2.ebuild | 2 ++ |
16 |
2 files changed, 28 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/libfreehand/files/libfreehand-0.1.2-icu-65.patch b/media-libs/libfreehand/files/libfreehand-0.1.2-icu-65.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..a2466495225 |
21 |
--- /dev/null |
22 |
+++ b/media-libs/libfreehand/files/libfreehand-0.1.2-icu-65.patch |
23 |
@@ -0,0 +1,26 @@ |
24 |
+From af3197f795625f5188602073205a34369698b6df Mon Sep 17 00:00:00 2001 |
25 |
+From: Heiko Becker <heirecka@×××××××.org> |
26 |
+Date: Fri, 4 Oct 2019 01:46:12 +0200 |
27 |
+Subject: [PATCH] Add missing semicolon to fix build with icu 65.1 |
28 |
+ |
29 |
+Change-Id: I7a0b0d600e9f7770245a7485813a944bfac4f088 |
30 |
+Reviewed-on: https://gerrit.libreoffice.org/80224 |
31 |
+Reviewed-by: Miklos Vajna <vmiklos@×××××××××.com> |
32 |
+Tested-by: Miklos Vajna <vmiklos@×××××××××.com> |
33 |
+--- |
34 |
+ src/lib/libfreehand_utils.cpp | 2 +- |
35 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
36 |
+ |
37 |
+diff --git a/src/lib/libfreehand_utils.cpp b/src/lib/libfreehand_utils.cpp |
38 |
+index 439c457..32f23e0 100644 |
39 |
+--- a/src/lib/libfreehand_utils.cpp |
40 |
++++ b/src/lib/libfreehand_utils.cpp |
41 |
+@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString &text, std::vector<unsigne |
42 |
+ while (j < length) |
43 |
+ { |
44 |
+ UChar32 c; |
45 |
+- U16_NEXT(s, j, length, c) |
46 |
++ U16_NEXT(s, j, length, c); |
47 |
+ unsigned char outbuf[U8_MAX_LENGTH+1]; |
48 |
+ int i = 0; |
49 |
+ U8_APPEND_UNSAFE(&outbuf[0], i, c); |
50 |
|
51 |
diff --git a/media-libs/libfreehand/libfreehand-0.1.2.ebuild b/media-libs/libfreehand/libfreehand-0.1.2.ebuild |
52 |
index f27b47bb139..ac35aa0e43a 100644 |
53 |
--- a/media-libs/libfreehand/libfreehand-0.1.2.ebuild |
54 |
+++ b/media-libs/libfreehand/libfreehand-0.1.2.ebuild |
55 |
@@ -33,6 +33,8 @@ DEPEND="${RDEPEND} |
56 |
test? ( dev-util/cppunit ) |
57 |
" |
58 |
|
59 |
+PATCHES=( "${FILESDIR}/${P}-icu-65.patch" ) |
60 |
+ |
61 |
src_prepare() { |
62 |
default |
63 |
[[ -d m4 ]] || mkdir "m4" |