aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/ipc-chromium-execinfo.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-25 21:00:27 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-25 21:00:27 -0600
commitdcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a (patch)
treeb0c150edc7f7d98a668ef41794e80cef4f941113 /main/xulrunner/ipc-chromium-execinfo.patch
parentdaf268baf10f53258168866f3d169dadf7e3740d (diff)
downloadaports-dcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a.tar.bz2
aports-dcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a.tar.xz
testing/xulrunner: promote to main
Diffstat (limited to 'main/xulrunner/ipc-chromium-execinfo.patch')
-rw-r--r--main/xulrunner/ipc-chromium-execinfo.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/xulrunner/ipc-chromium-execinfo.patch b/main/xulrunner/ipc-chromium-execinfo.patch
new file mode 100644
index 0000000000..48fc1c6a33
--- /dev/null
+++ b/main/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) {