summaryrefslogtreecommitdiff
path: root/user/thunderbird
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
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')
-rw-r--r--user/thunderbird/APKBUILD2
-rw-r--r--user/thunderbird/stackwalk-x86-ppc.patch16
2 files changed, 18 insertions, 0 deletions
diff --git a/user/thunderbird/APKBUILD b/user/thunderbird/APKBUILD
index 782061ea3..f516c34be 100644
--- a/user/thunderbird/APKBUILD
+++ b/user/thunderbird/APKBUILD
@@ -32,6 +32,7 @@ source="https://archive.mozilla.org/pub/thunderbird/releases/$pkgver/source/thun
profiler.patch
proper-system-hunspell.patch
stab.h
+ stackwalk-x86-ppc.patch
thunderbird.desktop
"
somask="liblgpllibs.so
@@ -87,4 +88,5 @@ sha512sums="80742c95ed61d1cb2e72b71bb23bdd211a40240ab4393e9f028a38f902547372084a
7e72b96196f51cc02478f1802a10b1c1754db09d7d35aef697c5dcaace107e7a45a1b97256cc98b4aa728845694be093b148b61868e8ebfc8317fea19d6c71fa profiler.patch
63b09028262a109e3a02f928c12323793df65dbd6d5605ddc315978b50ff4b50f6d1af410dc7c00538c80009a8721900c6320b166c8aa9bc6dce170ebcd6fc91 proper-system-hunspell.patch
0b3f1e4b9fdc868e4738b5c81fd6c6128ce8885b260affcb9a65ff9d164d7232626ce1291aaea70132b3e3124f5e13fef4d39326b8e7173e362a823722a85127 stab.h
+d620a1efa4b079ce082a27cfacbae275aceb3d268fd44bfd3f4b742b8098c8e1b1733edd360404c5109137c508b8426ed9e1ca1036b11752de8d1f429bf14844 stackwalk-x86-ppc.patch
95a2b1deb4f6c90750fdd2bfe8ca0a7879a5b267965091705a6beb0a0a4b1ccad75d11df7b9885543ca4232ff704e975c6946f4c11804cb71c471e06f9576001 thunderbird.desktop"
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