summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/xpcom-execinfo.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-04-30 00:51:07 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-04-30 00:51:39 -0500
commitfbe190abc13e2b8c264045d64a180a81f3ea2854 (patch)
tree5544b27e810073448bc729aee8776ac3e93d6e90 /main/xulrunner/xpcom-execinfo.patch
parente8c1d7f2ad7d664cbc6b85e990f1171e3fac60c4 (diff)
downloadaports-fbe190abc13e2b8c264045d64a180a81f3ea2854.tar.bz2
aports-fbe190abc13e2b8c264045d64a180a81f3ea2854.tar.xz
main/xulrunner: enable newly-added uClibc execinfo support
Diffstat (limited to 'main/xulrunner/xpcom-execinfo.patch')
-rw-r--r--main/xulrunner/xpcom-execinfo.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/main/xulrunner/xpcom-execinfo.patch b/main/xulrunner/xpcom-execinfo.patch
deleted file mode 100644
index 1fe320967..000000000
--- a/main/xulrunner/xpcom-execinfo.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- mozilla-2.0.orig/xpcom/threads/nsThread.cpp
-+++ mozilla-2.0/xpcom/threads/nsThread.cpp
-@@ -54,7 +54,9 @@
- && defined(_GNU_SOURCE)
- # define MOZ_CANARY
- # include <unistd.h>
--# include <execinfo.h>
-+# if !defined(__UCLIBC__)
-+# include <execinfo.h>
-+# endif
- # include <signal.h>
- # include <fcntl.h>
- # include "nsXULAppAPI.h"
-@@ -562,7 +564,9 @@
- const char msg[29] = "event took too long to run:\n";
- // use write to be safe in the signal handler
- write(Canary::sOutputFD, msg, sizeof(msg));
-+#if !defined(__UCLIBC__)
- backtrace_symbols_fd(array, backtrace(array, 30), Canary::sOutputFD);
-+#endif
- }
-
- #endif