summaryrefslogtreecommitdiff
path: root/user/thunderbird/stackwalk-x86-ppc.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-27 02:44:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-27 02:44:49 -0500
commitb089308d5658cebf7a721d09994adf4eb56ed1d8 (patch)
treecd09aaf3dd774ff52fd9c73fb1c64b2cb89adf5f /user/thunderbird/stackwalk-x86-ppc.patch
parente48a2547dcac83dfcfbab68e2064d4d71480a3eb (diff)
downloadpackages-b089308d5658cebf7a721d09994adf4eb56ed1d8.tar.gz
packages-b089308d5658cebf7a721d09994adf4eb56ed1d8.tar.bz2
packages-b089308d5658cebf7a721d09994adf4eb56ed1d8.tar.xz
packages-b089308d5658cebf7a721d09994adf4eb56ed1d8.zip
user/thunderbird: maybe fix on non-x86_64 arches
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