1 |
commit: a49d1c1409f75c4af9bf5f539bc06c1c7950e03a |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 12:59:21 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 12:59:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49d1c14 |
7 |
|
8 |
dev-libs/mongo-cxx-driver: tweak for boost-167, bug #671422 |
9 |
|
10 |
Reported-by: Toralf Förster |
11 |
Closes: https://bugs.gentoo.org/671422 |
12 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
.../files/mongo-cxx-driver-1.1.2-boost-next.patch | 21 +++++++++++++++++++++ |
16 |
.../mongo-cxx-driver-1.1.2-r1.ebuild | 3 ++- |
17 |
2 files changed, 23 insertions(+), 1 deletion(-) |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 00000000000..68bdc4dc1a4 |
22 |
--- /dev/null |
23 |
+++ b/dev-libs/mongo-cxx-driver/files/mongo-cxx-driver-1.1.2-boost-next.patch |
24 |
@@ -0,0 +1,21 @@ |
25 |
+Add missing include for boost::next() |
26 |
+ |
27 |
+https://bugs.gentoo.org/671422 |
28 |
+--- a/src/mongo/client/command_writer.cpp |
29 |
++++ b/src/mongo/client/command_writer.cpp |
30 |
+@@ -22,4 +22,6 @@ |
31 |
+ #include "mongo/db/namespace_string.h" |
32 |
+ |
33 |
++#include <boost/next_prior.hpp> |
34 |
++ |
35 |
+ namespace mongo { |
36 |
+ |
37 |
+--- a/src/mongo/client/wire_protocol_writer.cpp |
38 |
++++ b/src/mongo/client/wire_protocol_writer.cpp |
39 |
+@@ -22,4 +22,6 @@ |
40 |
+ #include "mongo/db/namespace_string.h" |
41 |
+ |
42 |
++#include <boost/next_prior.hpp> |
43 |
++ |
44 |
+ namespace mongo { |
45 |
+ |
46 |
|
47 |
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 |
48 |
index 4b2e018de53..2dad3075312 100644 |
49 |
--- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild |
50 |
+++ b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.1.2-r1.ebuild |
51 |
@@ -1,4 +1,4 @@ |
52 |
-# Copyright 1999-2017 Gentoo Foundation |
53 |
+# Copyright 1999-2018 Gentoo Authors |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
|
56 |
EAPI=6 |
57 |
@@ -33,6 +33,7 @@ DEPEND="${RDEPEND}" |
58 |
PATCHES=( |
59 |
"${FILESDIR}"/${PN}-1.1.0-fix-scons.patch |
60 |
"${FILESDIR}"/${PN}-1.1.2-boost-ref.patch |
61 |
+ "${FILESDIR}"/${PN}-1.1.2-boost-next.patch |
62 |
) |
63 |
|
64 |
S="${WORKDIR}/${PN}-legacy-${PV}" |