SHA256
1
0
forked from pool/cmis-client
Files
cmis-client/boost_168.patch
Tomáš Chvátal 0f67031f12 Accepting request 629751 from home:adamm:branches:devel:libraries:c_c++
- 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
2018-08-17 10:18:04 +00:00

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"