From owner-svn-ports-head@freebsd.org Wed Apr 18 06:39:11 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D91A8F96612; Wed, 18 Apr 2018 06:39:11 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F54372CA8; Wed, 18 Apr 2018 06:39:11 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 89EA617715; Wed, 18 Apr 2018 06:39:11 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3I6dBDg058539; Wed, 18 Apr 2018 06:39:11 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3I6dBNi058538; Wed, 18 Apr 2018 06:39:11 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804180639.w3I6dBNi058538@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 18 Apr 2018 06:39:11 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/devel/mongo-cxx-driver/files X-SVN-Commit-Revision: 467679 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2018 06:39:12 -0000 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::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::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 +-#include + #include ++ ++#include ++#if BOOST_VERSION < 106700 ++#include ++#else ++#include ++#include ++#endif + + #include "mongo/util/net/message.h" + #include "mongo/util/net/sock.h"