summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libreoffice/build/patches/libcmis_boost_1_68.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/libreoffice/build/patches/libcmis_boost_1_68.patch b/libreoffice/build/patches/libcmis_boost_1_68.patch
new file mode 100644
index 00000000..219363fb
--- /dev/null
+++ b/libreoffice/build/patches/libcmis_boost_1_68.patch
@@ -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>
+ ^~~~~~~~~~~~~~~~~~~~~
+
+--- libcmis/src/libcmis/xml-utils.cxx.orig 2016-03-01 16:14:26 UTC
++++ libcmis/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"