summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-21 01:56:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-21 13:30:59 +0200
commit5f2d211486320137d50b3224eb260bbe9f3e747e (patch)
tree14feea1a2e0b81cb47bc18e99c38ff2090ca59a8
parentdev-cpp/libcmis: Add USE tools (diff)
downloadgentoo-5f2d211486320137d50b3224eb260bbe9f3e747e.tar.gz
gentoo-5f2d211486320137d50b3224eb260bbe9f3e747e.tar.bz2
gentoo-5f2d211486320137d50b3224eb260bbe9f3e747e.zip
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@gentoo.org>
-rw-r--r--dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch17
-rw-r--r--dev-cpp/libcmis/libcmis-0.5.2-r1.ebuild2
2 files changed, 19 insertions, 0 deletions
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