aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/backtrace.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb/backtrace.patch')
-rw-r--r--community/mongodb/backtrace.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/mongodb/backtrace.patch b/community/mongodb/backtrace.patch
new file mode 100644
index 0000000000..f110c7484d
--- /dev/null
+++ b/community/mongodb/backtrace.patch
@@ -0,0 +1,14 @@
+diff --git a/SConstruct b/SConstruct
+index 64c8387..3db1f3e 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -2292,7 +2292,8 @@ def doConfigure(myenv):
+ 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")
+