dev-db/mongodb: Fix building against boost 1.71
authorJouni Kosonen <jouni.kosonen@tukesoft.com>
Sat, 21 Sep 2019 21:22:14 +0000 (23:22 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 21 Sep 2019 21:22:14 +0000 (23:22 +0200)
Closes: https://bugs.gentoo.org/694530
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch [new file with mode: 0644]
dev-db/mongodb/mongodb-4.0.12.ebuild

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
new file mode 100644 (file)
index 0000000..b65f912
--- /dev/null
@@ -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
+ //
index 1e60cc747ff89859df445e238c4bea79c15b489e..d549bea6ba8f3c576816468a9a3e1f5e02226572 100644 (file)
@@ -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}"