mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user