From 5f2d211486320137d50b3224eb260bbe9f3e747e Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 21 Apr 2019 01:56:27 +0200 Subject: 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 --- 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(+) create mode 100644 dev-cpp/libcmis/files/libcmis-0.5.2-icu-64.2.patch 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 000000000000..6ba63ee7fe76 --- /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 ++ + #ifdef __cplusplus + extern "C" { + #endif + +-#include +- + #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 a060dbb78ee9..c9f4938bb63f 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 -- cgit v1.2.3-65-gdbad