commit:     5f2d211486320137d50b3224eb260bbe9f3e747e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 23:56:27 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 11:30:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f2d2114

dev-cpp/libcmis: Fix build with ICU 64.2

Bug: https://bugs.gentoo.org/674414
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch | 17 +++++++++++++++++
 dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild            |  2 ++
 2 files changed, 19 insertions(+)

diff --git a/dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch 
b/dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch
new file mode 100644
index 00000000000..6ba63ee7fe7
--- /dev/null
+++ b/dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch
@@ -0,0 +1,17 @@
+--- a/inc/libcmis-c/repository.h       2018-12-27 14:07:55.000000000 +0100
++++ b/inc/libcmis-c/repository.h       2019-04-21 01:29:46.504373226 +0200
+@@ -28,12 +28,12 @@
+ #ifndef _REPOSITORY_H_
+ #define _REPOSITORY_H_
+ 
++#include <libxml/tree.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ 
+-#include <libxml/tree.h>
+-
+ #include "libcmis-c/libcmis-c-api.h"
+ #include "libcmis-c/types.h"
+ 

diff --git a/dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild 
b/dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild
index a060dbb78ee..c9f4938bb63 100644
--- a/dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild
+++ b/dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild
@@ -40,6 +40,8 @@ RDEPEND="${DEPEND}"
 
 RESTRICT="test"
 
+PATCHES=( "${FILESDIR}/${P}-icu-64.2.patch" )
+
 src_prepare() {
        default
        eautoreconf

Reply via email to