summaryrefslogtreecommitdiff
path: root/user/firefox-esr/disable-moz-stackwalk.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-26 21:27:57 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-26 21:27:57 -0500
commit104e540fe2f63e78b86a61cb41e3ecb2f5451d65 (patch)
treee82d6599be3c39a68026ae3e3adc018348a6c17d /user/firefox-esr/disable-moz-stackwalk.patch
parentc2fa058ba2ced4f6780e42495aebc02869b2ddf8 (diff)
downloadpackages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.tar.gz
packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.tar.bz2
packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.tar.xz
packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.zip
user/firefox-esr: I present Adélie's worst APKBUILD
Diffstat (limited to 'user/firefox-esr/disable-moz-stackwalk.patch')
-rw-r--r--user/firefox-esr/disable-moz-stackwalk.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/firefox-esr/disable-moz-stackwalk.patch b/user/firefox-esr/disable-moz-stackwalk.patch
new file mode 100644
index 000000000..c83ae7eae
--- /dev/null
+++ b/user/firefox-esr/disable-moz-stackwalk.patch
@@ -0,0 +1,18 @@
+diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp
+index a208bad..14e1f0d 100644
+--- a/mozglue/misc/StackWalk.cpp
++++ b/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