Skip to content

Commit

Permalink
dev-db/mongodb: Fix building against boost 1.71
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/694530
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
jok-ts authored and SoapGentoo committed Sep 21, 2019
1 parent c60a265 commit d32a175
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/src/mongo/util/heap_profiler.cpp
+++ b/src/mongo/util/heap_profiler.cpp
@@ -49,6 +49,9 @@
#include <dlfcn.h>
#include <execinfo.h>

+// for abi::__cxa_demangle
+#include <cxxabi.h>
+
//
// Sampling heap profiler
//
1 change: 1 addition & 0 deletions dev-db/mongodb/mongodb-4.0.12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
PATCHES=(
"${FILESDIR}/${PN}-3.6.1-fix-scons.patch"
"${FILESDIR}/${PN}-4.0.0-no-compass.patch"
"${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch"
)

S="${WORKDIR}/${MY_P}"
Expand Down

0 comments on commit d32a175

Please sign in to comment.