summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2021-08-20 14:57:19 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2021-08-20 20:07:18 +0200
commitaf45f6a7cb10bc582a6490d7c1466fef512322fb (patch)
treea655aa521502155342b9554fbcf5c15149faeb23 /dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch
parent22b2fb41302f3cab094fa308a7f389149b4b5097 (diff)
downloadgentoo-af45f6a7cb10bc582a6490d7c1466fef512322fb.tar.gz
gentoo-af45f6a7cb10bc582a6490d7c1466fef512322fb.tar.bz2
gentoo-af45f6a7cb10bc582a6490d7c1466fef512322fb.zip
dev-db/mongodb: fix building with glibc-2.34
Patch taken from https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/43608/11/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch Closes: https://bugs.gentoo.org/806773 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22052 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch')
-rw-r--r--dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch b/dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch
new file mode 100644
index 000000000000..ae69befcea82
--- /dev/null
+++ b/dev-db/mongodb/files/mongodb-5.0.2-skip-no-exceptions.patch
@@ -0,0 +1,13 @@
+diff --git a/SConstruct b/SConstruct
+index 613110b7..4987e24e 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -2958,7 +2958,7 @@ def doConfigure(myenv):
+
+ # This warning was added in clang-5 and incorrectly flags our implementation of
+ # exceptionToStatus(). See https://bugs.llvm.org/show_bug.cgi?id=34804
+- AddToCCFLAGSIfSupported(myenv, "-Wno-exceptions")
++ #AddToCCFLAGSIfSupported(myenv, "-Wno-exceptions")
+
+ # Enable sized deallocation support.
+ AddToCXXFLAGSIfSupported(myenv, '-fsized-deallocation')