Date: Wed, 11 Jul 2018 11:00:30 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474435 - head/net/libcmis/files Message-ID: <201807111100.w6BB0U1U033628@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Jul 11 11:00:30 2018 New Revision: 474435 URL: https://svnweb.freebsd.org/changeset/ports/474435 Log: net/libcmis: unbreak with boost 1.68 xml-utils.cxx:34:10: fatal error: 'boost/uuid/sha1.hpp' file not found #include <boost/uuid/sha1.hpp> ^~~~~~~~~~~~~~~~~~~~~ PR: 229569 Added: head/net/libcmis/files/patch-src_libcmis_xml-utils.cxx (contents, props changed) Added: head/net/libcmis/files/patch-src_libcmis_xml-utils.cxx ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/libcmis/files/patch-src_libcmis_xml-utils.cxx Wed Jul 11 11:00:30 2018 (r474435) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807111100.w6BB0U1U033628>