commit:     a49d1c1409f75c4af9bf5f539bc06c1c7950e03a
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  1 12:59:21 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec  1 12:59:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49d1c14

dev-libs/mongo-cxx-driver: tweak for boost-167, bug #671422

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/671422
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 .../files/mongo-cxx-driver-1.1.2-boost-next.patch   | 21 +++++++++++++++++++++
 .../mongo-cxx-driver-1.1.2-r1.ebuild                |  3 ++-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git 
a/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch 
b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch
new file mode 100644
index 00000000000..68bdc4dc1a4
--- /dev/null
+++ b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch
@@ -0,0 +1,21 @@
+Add missing include for boost::next()
+
+https://bugs.gentoo.org/671422
+--- a/src/mongo/client/command_writer.cpp
++++ b/src/mongo/client/command_writer.cpp
+@@ -22,4 +22,6 @@
+ #include "mongo/db/namespace_string.h"
+ 
++#include <boost/next_prior.hpp>
++
+ namespace mongo {
+ 
+--- a/src/mongo/client/wire_protocol_writer.cpp
++++ b/src/mongo/client/wire_protocol_writer.cpp
+@@ -22,4 +22,6 @@
+ #include "mongo/db/namespace_string.h"
+ 
++#include <boost/next_prior.hpp>
++
+ namespace mongo {
+ 

diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild
index 4b2e018de53..2dad3075312 100644
--- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -33,6 +33,7 @@ DEPEND="${RDEPEND}"
 PATCHES=(
        "${FILESDIR}"/${PN}-1.1.0-fix-scons.patch
        "${FILESDIR}"/${PN}-1.1.2-boost-ref.patch
+       "${FILESDIR}"/${PN}-1.1.2-boost-next.patch
 )
 
 S="${WORKDIR}/${PN}-legacy-${PV}"

Reply via email to