aboutsummaryrefslogtreecommitdiff
path: root/net/libcmis
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-07-11 11:00:30 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-07-11 11:00:30 +0000
commit2f9d28d8cf25e11ec2180381725aed06213a093f (patch)
treefbbb1cf4a4169a2b05fb10622368de0a77dc514c /net/libcmis
parent01039ffa5c76bfdf8f6a576ef9d90f12e7f661a2 (diff)
Notes
Diffstat (limited to 'net/libcmis')
-rw-r--r--net/libcmis/files/patch-src_libcmis_xml-utils.cxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/libcmis/files/patch-src_libcmis_xml-utils.cxx b/net/libcmis/files/patch-src_libcmis_xml-utils.cxx
new file mode 100644
index 000000000000..fea40d5b2383
--- /dev/null
+++ b/net/libcmis/files/patch-src_libcmis_xml-utils.cxx
@@ -0,0 +1,21 @@
+After https://github.com/boostorg/uuid/commit/33da3e2a5b87 build fails:
+
+xml-utils.cxx:34:10: fatal error: 'boost/uuid/sha1.hpp' file not found
+#include <boost/uuid/sha1.hpp>
+ ^~~~~~~~~~~~~~~~~~~~~
+
+--- 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 >= 106600)
++#include <boost/uuid/detail/sha1.hpp>
++#else
+ #include <boost/uuid/sha1.hpp>
++#endif
+ #include <curl/curl.h>
+
+ #include "xml-utils.hxx"