aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/fix-backtrace.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb/fix-backtrace.patch')
-rw-r--r--community/mongodb/fix-backtrace.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/mongodb/fix-backtrace.patch b/community/mongodb/fix-backtrace.patch
new file mode 100644
index 0000000000..67cb7ca422
--- /dev/null
+++ b/community/mongodb/fix-backtrace.patch
@@ -0,0 +1,12 @@
+--- mongodb-src-r3.6.1/SConstruct.orig
++++ mongodb-src-r3.6.1/SConstruct
+@@ -2896,7 +2896,8 @@
+ if (conf.CheckCXXHeader( "execinfo.h" ) and
+ conf.CheckDeclaration('backtrace', includes='#include <execinfo.h>') and
+ conf.CheckDeclaration('backtrace_symbols', includes='#include <execinfo.h>') and
+- conf.CheckDeclaration('backtrace_symbols_fd', includes='#include <execinfo.h>')):
++ conf.CheckDeclaration('backtrace_symbols_fd', includes='#include <execinfo.h>') and
++ conf.CheckFunc('backtrace')):
+
+ conf.env.SetConfigHeaderDefine("MONGO_CONFIG_HAVE_EXECINFO_BACKTRACE")
+