Date: Wed, 18 Apr 2018 06:39:11 +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: r467679 - head/devel/mongo-cxx-driver/files Message-ID: <201804180639.w3I6dBNi058538@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Apr 18 06:39:11 2018 New Revision: 467679 URL: https://svnweb.freebsd.org/changeset/ports/467679 Log: devel/mongo-cxx-driver: unbreak with boost 1.67 src/mongo/client/command_writer.cpp:68:78: error: no member named 'next' in namespace 'boost' const std::vector<WriteOperation*>::const_iterator next = boost::next(batch_iter); ~~~~~~~^ src/mongo/util/net/message_port.h:34:38: error: expected class name class AbstractMessagingPort : boost::noncopyable { ^ PR: 227427 Reported by: antoine (via exp-run) Added: head/devel/mongo-cxx-driver/files/patch-boost-1.67 (contents, props changed) Added: head/devel/mongo-cxx-driver/files/patch-boost-1.67 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-cxx-driver/files/patch-boost-1.67 Wed Apr 18 06:39:11 2018 (r467679) @@ -0,0 +1,26 @@ +src/mongo/client/command_writer.cpp:68:78: error: no member named 'next' in namespace 'boost' + const std::vector<WriteOperation*>::const_iterator next = boost::next(batch_iter); + ~~~~~~~^ +src/mongo/util/net/message_port.h:34:38: error: expected class name +class AbstractMessagingPort : boost::noncopyable { + ^ + +--- src/mongo/util/net/message_port.h.orig 2016-06-21 19:15:24 UTC ++++ src/mongo/util/net/message_port.h +@@ -20,8 +20,15 @@ + #include "mongo/config.h" + + #include <boost/shared_ptr.hpp> +-#include <boost/utility.hpp> + #include <vector> ++ ++#include <boost/version.hpp> ++#if BOOST_VERSION < 106700 ++#include <boost/utility.hpp> ++#else ++#include <boost/next_prior.hpp> ++#include <boost/noncopyable.hpp> ++#endif + + #include "mongo/util/net/message.h" + #include "mongo/util/net/sock.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804180639.w3I6dBNi058538>