From d32a1753b39623696eff690223cda79078c8a967 Mon Sep 17 00:00:00 2001 From: Jouni Kosonen Date: Sat, 21 Sep 2019 23:22:14 +0200 Subject: [PATCH] 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 --- .../mongodb-4.0.12-boost-1.71-cxxabi-include.patch | 12 ++++++++++++ dev-db/mongodb/mongodb-4.0.12.ebuild | 1 + 2 files changed, 13 insertions(+) create mode 100644 dev-db/mongodb/files/mongodb-4.0.12-boost-1.71-cxxabi-include.patch 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 + #include + ++// for abi::__cxa_demangle ++#include ++ + // + // 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}" -- 2.26.2