1 |
commit: d32a1753b39623696eff690223cda79078c8a967 |
2 |
Author: Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com> |
3 |
AuthorDate: Sat Sep 21 21:22:14 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 21 21:22:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32a1753 |
7 |
|
8 |
dev-db/mongodb: Fix building against boost 1.71 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/694530 |
11 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
.../files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch | 12 ++++++++++++ |
15 |
dev-db/mongodb/mongodb-4.0.12.ebuild | 1 + |
16 |
2 files changed, 13 insertions(+) |
17 |
|
18 |
diff --git a/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch b/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..b65f9123677 |
21 |
--- /dev/null |
22 |
+++ b/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch |
23 |
@@ -0,0 +1,12 @@ |
24 |
+--- a/src/mongo/util/heap_profiler.cpp |
25 |
++++ b/src/mongo/util/heap_profiler.cpp |
26 |
+@@ -49,6 +49,9 @@ |
27 |
+ #include <dlfcn.h> |
28 |
+ #include <execinfo.h> |
29 |
+ |
30 |
++// for abi::__cxa_demangle |
31 |
++#include <cxxabi.h> |
32 |
++ |
33 |
+ // |
34 |
+ // Sampling heap profiler |
35 |
+ // |
36 |
|
37 |
diff --git a/dev-db/mongodb/mongodb-4.0.12.ebuild b/dev-db/mongodb/mongodb-4.0.12.ebuild |
38 |
index 1e60cc747ff..d549bea6ba8 100644 |
39 |
--- a/dev-db/mongodb/mongodb-4.0.12.ebuild |
40 |
+++ b/dev-db/mongodb/mongodb-4.0.12.ebuild |
41 |
@@ -54,6 +54,7 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" |
42 |
PATCHES=( |
43 |
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch" |
44 |
"${FILESDIR}/${PN}-4.0.0-no-compass.patch" |
45 |
+ "${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch" |
46 |
) |
47 |
|
48 |
S="${WORKDIR}/${MY_P}" |