dev-cpp/libcmis: Fix build with ICU 64.2
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 20 Apr 2019 23:56:27 +0000 (01:56 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 21 Apr 2019 11:30:59 +0000 (13:30 +0200)
Bug: https://bugs.gentoo.org/674414
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch [new file with mode: 0644]
dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild

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 (file)
index 0000000..6ba63ee
--- /dev/null
@@ -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"
index a060dbb78ee982c1704013eb9ce8a46c7e9ab28a..c9f4938bb63fc5b258c9aa1f9dff0efd376f1cc3 100644 (file)
@@ -40,6 +40,8 @@ RDEPEND="${DEPEND}"
 
 RESTRICT="test"
 
+PATCHES=( "${FILESDIR}/${P}-icu-64.2.patch" )
+
 src_prepare() {
        default
        eautoreconf