diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-21 23:11:45 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-21 23:11:45 -0600 |
commit | 54028b37df0f6790fa6639458467bb53bc19dbae (patch) | |
tree | ab1d687726d2f7b61f50723089c2cec502de636f /testing/xulrunner/ipc-chromium-execinfo.patch | |
parent | c81b105d7827e1f77fa67b86dd056ba652c78ab7 (diff) | |
download | aports-54028b37df0f6790fa6639458467bb53bc19dbae.tar.bz2 aports-54028b37df0f6790fa6639458467bb53bc19dbae.tar.xz |
testing/xulrunner: new aport
Diffstat (limited to 'testing/xulrunner/ipc-chromium-execinfo.patch')
-rw-r--r-- | testing/xulrunner/ipc-chromium-execinfo.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/xulrunner/ipc-chromium-execinfo.patch b/testing/xulrunner/ipc-chromium-execinfo.patch new file mode 100644 index 0000000000..48fc1c6a33 --- /dev/null +++ b/testing/xulrunner/ipc-chromium-execinfo.patch @@ -0,0 +1,33 @@ +--- mozilla-1.9.2.orig/ipc/chromium/src/base/debug_util_posix.cc ++++ mozilla-1.9.2/ipc/chromium/src/base/debug_util_posix.cc +@@ -6,7 +6,6 @@ + #include "base/debug_util.h" + + #include <errno.h> +-#include <execinfo.h> + #include <fcntl.h> + #include <stdio.h> + #include <sys/stat.h> +@@ -114,6 +113,7 @@ + } + + StackTrace::StackTrace() { ++#if 0 + const int kMaxCallers = 256; + + void* callers[kMaxCallers]; +@@ -128,11 +128,14 @@ + } else { + trace_.resize(0); + } ++#endif + } + + void StackTrace::PrintBacktrace() { ++#if 0 + fflush(stderr); + backtrace_symbols_fd(&trace_[0], trace_.size(), STDERR_FILENO); ++#endif + } + + void StackTrace::OutputToStream(std::ostream* os) { |