office-gobmx/libcmis/boost-win.patch
Cédric Bosdonnat 293f6a7a24 update libcmis to 0.2.2 to fix macos old libcurl problems
Change-Id: I0ea2191a281405a0672fac2f8c1d4dafea224ef4
2012-06-04 18:58:57 +02:00

59 lines
1.8 KiB
Diff

--- misc/libcmis-0.2.2/src/libcmis/atom-object.cxx 2012-06-01 07:44:26.000000000 -0600
+++ misc/build/libcmis-0.2.2/src/libcmis/atom-object.cxx 2012-06-04 07:52:24.131190200 -0600
@@ -29,6 +29,9 @@
#include <algorithm>
#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-object.hxx"
--- misc/libcmis-0.2.2/src/libcmis/object.hxx 2012-06-01 07:38:36.000000000 -0600
+++ misc/build/libcmis-0.2.2/src/libcmis/object.hxx 2012-06-04 07:52:21.900386200 -0600
@@ -32,6 +32,9 @@
#include <map>
#include <string>
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
#include <boost/date_time.hpp>
#include <boost/shared_ptr.hpp>
--- misc/libcmis-0.2.2/src/libcmis/property-type.hxx 2012-02-17 08:00:50.000000000 -0700
+++ misc/build/libcmis-0.2.2/src/libcmis/property-type.hxx 2012-06-04 07:52:17.157977900 -0600
@@ -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>
--- misc/libcmis-0.2.2/src/libcmis/property.hxx 2012-02-17 06:38:33.000000000 -0700
+++ misc/build/libcmis-0.2.2/src/libcmis/property.hxx 2012-06-04 07:52:19.388781800 -0600
@@ -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>
--- misc/libcmis-0.2.2/src/libcmis/xml-utils.hxx 2012-05-30 06:17:12.000000000 -0600
+++ misc/build/libcmis-0.2.2/src/libcmis/xml-utils.hxx 2012-06-04 07:52:10.621566400 -0600
@@ -30,6 +30,9 @@
#include <string>
+#ifndef BOOST_DATE_TIME_NO_LIB
+#define BOOST_DATE_TIME_NO_LIB
+#endif
#include <boost/date_time.hpp>
#include <libxml/tree.h>