summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJouni Kosonen <jouni.kosonen@tukesoft.com>2019-09-21 23:22:14 +0200
committerDavid Seifert <soap@gentoo.org>2019-09-21 23:22:14 +0200
commitd32a1753b39623696eff690223cda79078c8a967 (patch)
treeca4f73cf1a93da83e9ef5046ce63be00b2d2a3e8 /dev-db/mongodb
parentdev-python/certifi-2019.6.16: alpha stable, bug 694156 (diff)
downloadgentoo-d32a1753b39623696eff690223cda79078c8a967.tar.gz
gentoo-d32a1753b39623696eff690223cda79078c8a967.tar.bz2
gentoo-d32a1753b39623696eff690223cda79078c8a967.zip
dev-db/mongodb: Fix building against boost 1.71
Closes: https://bugs.gentoo.org/694530 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r--dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch12
-rw-r--r--dev-db/mongodb/mongodb-4.0.12.ebuild1
2 files changed, 13 insertions, 0 deletions
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
index 000000000000..b65f91236770
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch
@@ -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
+ //
diff --git a/dev-db/mongodb/mongodb-4.0.12.ebuild b/dev-db/mongodb/mongodb-4.0.12.ebuild
index 1e60cc747ff8..d549bea6ba8f 100644
--- a/dev-db/mongodb/mongodb-4.0.12.ebuild
+++ b/dev-db/mongodb/mongodb-4.0.12.ebuild
@@ -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}"