Test environment for CMIS server using Apache Chemistry and by default it has just username without password for authentication. But libcmis uses authentication only if both username and password are given. Corresponding patch is already applied to libcmis master. Using default patch level 1 for libcmis patches, updated existing patches. Change-Id: Id77b59324002e47258b6315d7383496fa1e9c6ae Reviewed-on: https://gerrit.libreoffice.org/17070 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
85 lines
2.2 KiB
Diff
85 lines
2.2 KiB
Diff
diff --git src/libcmis/atom-object.cxx src/libcmis/atom-object.cxx
|
|
index ce21384..eef8102 100644
|
|
--- a/src/libcmis/atom-object.cxx
|
|
+++ b/src/libcmis/atom-object.cxx
|
|
@@ -30,6 +30,9 @@
|
|
#include <locale>
|
|
#include <sstream>
|
|
|
|
+#ifndef BOOST_DATE_TIME_NO_LIB
|
|
+#define BOOST_DATE_TIME_NO_LIB
|
|
+#endif
|
|
#include <boost/date_time/posix_time/posix_time.hpp>
|
|
|
|
#include "atom-document.hxx"
|
|
diff --git src/libcmis/object.hxx src/libcmis/object.hxx
|
|
index 449bb22..c320f06 100644
|
|
--- a/src/libcmis/object.hxx
|
|
+++ b/src/libcmis/object.hxx
|
|
@@ -36,6 +36,9 @@
|
|
#include <stdbool.h>
|
|
#endif
|
|
|
|
+#ifndef BOOST_DATE_TIME_NO_LIB
|
|
+#define BOOST_DATE_TIME_NO_LIB
|
|
+#endif
|
|
#include <boost/date_time.hpp>
|
|
#include <boost/shared_ptr.hpp>
|
|
#include <libxml/tree.h>
|
|
diff --git src/libcmis/property-type.hxx src/libcmis/property-type.hxx
|
|
index 1a8bee9..6ac946c 100644
|
|
--- a/src/libcmis/property-type.hxx
|
|
+++ b/src/libcmis/property-type.hxx
|
|
@@ -28,6 +28,9 @@
|
|
#ifndef _PROPERTY_TYPE_HXX_
|
|
#define _PROPERTY_TYPE_HXX_
|
|
|
|
+#ifndef BOOST_DATE_TIME_NO_LIB
|
|
+#define BOOST_DATE_TIME_NO_LIB
|
|
+#endif
|
|
#include <boost/date_time.hpp>
|
|
#include <libxml/tree.h>
|
|
|
|
diff --git src/libcmis/property.hxx src/libcmis/property.hxx
|
|
index f9be04a..2977fb3 100644
|
|
--- a/src/libcmis/property.hxx
|
|
+++ b/src/libcmis/property.hxx
|
|
@@ -31,6 +31,9 @@
|
|
#include <libxml/tree.h>
|
|
#include <libxml/xmlwriter.h>
|
|
|
|
+#ifndef BOOST_DATE_TIME_NO_LIB
|
|
+#define BOOST_DATE_TIME_NO_LIB
|
|
+#endif
|
|
#include <boost/date_time.hpp>
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
diff --git src/libcmis/ws-session.cxx src/libcmis/ws-session.cxx
|
|
index b906a5a..bf50644 100644
|
|
--- a/src/libcmis/ws-session.cxx
|
|
+++ b/src/libcmis/ws-session.cxx
|
|
@@ -28,6 +28,9 @@
|
|
|
|
#include <sstream>
|
|
|
|
+#ifndef BOOST_DATE_TIME_NO_LIB
|
|
+#define BOOST_DATE_TIME_NO_LIB
|
|
+#endif
|
|
#include <boost/date_time.hpp>
|
|
#include <libxml/parser.h>
|
|
#include <libxml/tree.h>
|
|
diff --git src/libcmis/xml-utils.hxx src/libcmis/xml-utils.hxx
|
|
index 52853e2..2f80b91 100644
|
|
--- a/src/libcmis/xml-utils.hxx
|
|
+++ b/src/libcmis/xml-utils.hxx
|
|
@@ -33,6 +33,9 @@
|
|
#include <sstream>
|
|
#include <string>
|
|
|
|
+#ifndef BOOST_DATE_TIME_NO_LIB
|
|
+#define BOOST_DATE_TIME_NO_LIB
|
|
+#endif
|
|
#include <boost/date_time.hpp>
|
|
#include <libxml/tree.h>
|
|
#include <libxml/xpathInternals.h>
|