external/libcmis/UnpackedTarball_libcmis.mk |    1 +
 external/libcmis/boost-1.68.patch.0         |   15 +++++++++++++++
 2 files changed, 16 insertions(+)

New commits:
commit af17b06f657257c6bfee19c1d8d1c4b632fbcc2a
Author:     rezso <re...@rezso.net>
AuthorDate: Tue Sep 4 01:18:10 2018 +0200
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Tue Sep 4 21:37:26 2018 +0200

    tdf#119344 fix libcmis build with boost 1.68
    
    Change-Id: I80d6ea8ecd001dc02b941c1eb8974c9244316045
    Reviewed-on: https://gerrit.libreoffice.org/59958
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@cib.de>
    (cherry picked from commit 3ef3569c4ae1c5319aff0664d52cbd8a8d42c909)
    Reviewed-on: https://gerrit.libreoffice.org/59971
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/external/libcmis/UnpackedTarball_libcmis.mk 
b/external/libcmis/UnpackedTarball_libcmis.mk
index 8ce0b03d10c4..0ec8f5182edc 100644
--- a/external/libcmis/UnpackedTarball_libcmis.mk
+++ b/external/libcmis/UnpackedTarball_libcmis.mk
@@ -21,6 +21,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libcmis, \
                                                
external/libcmis/libcmis-sharepoint-repository-root.patch \
                                                
external/libcmis/libcmis-fix-error-handling.patch \
                                                external/libcmis/c++17.patch.0 \
+                                               
external/libcmis/boost-1.68.patch.0 \
 ))
 
 ifeq ($(OS),WNT)
diff --git a/external/libcmis/boost-1.68.patch.0 
b/external/libcmis/boost-1.68.patch.0
new file mode 100644
index 000000000000..2d86a4db2865
--- /dev/null
+++ b/external/libcmis/boost-1.68.patch.0
@@ -0,0 +1,15 @@
+--- src/libcmis/xml-utils.cxx.orig     2016-03-01 16:14:26 UTC
++++ src/libcmis/xml-utils.cxx
+@@ -31,7 +31,12 @@
+ #include <sstream>
+ #include <stdlib.h>
+ 
++#include <boost/version.hpp>
++#if (BOOST_VERSION >= 106800)
++#include <boost/uuid/detail/sha1.hpp>
++#else
+ #include <boost/uuid/sha1.hpp>
++#endif
+ #include <curl/curl.h>
+ 
+ #include "xml-utils.hxx"
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to