summaryrefslogtreecommitdiff
path: root/user/thunderbird/stackwalk-x86-ppc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/thunderbird/stackwalk-x86-ppc.patch')
-rw-r--r--user/thunderbird/stackwalk-x86-ppc.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/user/thunderbird/stackwalk-x86-ppc.patch b/user/thunderbird/stackwalk-x86-ppc.patch
new file mode 100644
index 000000000..9428e7238
--- /dev/null
+++ b/user/thunderbird/stackwalk-x86-ppc.patch
@@ -0,0 +1,16 @@
+--- thunderbird-52.6.0/mozilla/mozglue/misc/StackWalk.cpp
++++ thunderbird-52.6.0/mozilla/mozglue/misc/StackWalk.cpp
+@@ -41,13 +41,7 @@ static CriticalAddress gCriticalAddress;
+ #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