aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/disable-moz-stackwalk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/thunderbird/disable-moz-stackwalk.patch')
-rw-r--r--testing/thunderbird/disable-moz-stackwalk.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/thunderbird/disable-moz-stackwalk.patch b/testing/thunderbird/disable-moz-stackwalk.patch
new file mode 100644
index 0000000000..214ab69e73
--- /dev/null
+++ b/testing/thunderbird/disable-moz-stackwalk.patch
@@ -0,0 +1,16 @@
+--- a/mozglue/misc/StackWalk.cpp
++++ b/mozglue/misc/StackWalk.cpp
+@@ -32,13 +32,7 @@
+ #define MOZ_STACKWALK_SUPPORTS_MACOSX 0
+ #endif
+
+-#if (defined(linux) && \
+- ((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \
+- defined(HAVE__UNWIND_BACKTRACE)))
+-#define MOZ_STACKWALK_SUPPORTS_LINUX 1
+-#else
+ #define MOZ_STACKWALK_SUPPORTS_LINUX 0
+-#endif
+
+ #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
+ #define HAVE___LIBC_STACK_END 1