From 56b3e818912ac0ccc294efea6fca3a5d07d19fd6 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Thu, 17 Mar 2011 20:46:25 -0500 Subject: main/xulrunner: upgrade to 2.0_rc1 --- main/xulrunner/xpcom-execinfo.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 main/xulrunner/xpcom-execinfo.patch (limited to 'main/xulrunner/xpcom-execinfo.patch') diff --git a/main/xulrunner/xpcom-execinfo.patch b/main/xulrunner/xpcom-execinfo.patch new file mode 100644 index 0000000000..1fe3209670 --- /dev/null +++ b/main/xulrunner/xpcom-execinfo.patch @@ -0,0 +1,23 @@ +--- 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 +-# include ++# if !defined(__UCLIBC__) ++# include ++# endif + # include + # include + # 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 -- cgit v1.2.3