forked from pool/cmis-client
- use %license to install licenses - spec file cleanup - boost_168.patch: fix build with Boost 1.68 where the compatibility header for Uuid's sha1 header was removed. (boo#1105173) OBS-URL: https://build.opensuse.org/request/show/629751 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmis-client?expand=0&rev=42
20 lines
471 B
Diff
20 lines
471 B
Diff
Index: libcmis-0.5.1/src/libcmis/xml-utils.cxx
|
|
===================================================================
|
|
--- libcmis-0.5.1.orig/src/libcmis/xml-utils.cxx
|
|
+++ libcmis-0.5.1/src/libcmis/xml-utils.cxx
|
|
@@ -31,7 +31,14 @@
|
|
#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"
|