diff options
| author | J0WI <J0WI@users.noreply.github.com> | 2019-10-26 17:04:12 +0200 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-26 23:11:17 +0200 |
| commit | 7e130731a332e3d5d593b52869e2f4e02da33f59 (patch) | |
| tree | 5078b4359f3939c406c071405faea8bedc516154 /testing/thunderbird/fix-tools.patch | |
| parent | 00be3a44472d6239a5052218d41d055fba9b3634 (diff) | |
| download | aports-7e130731a332e3d5d593b52869e2f4e02da33f59.tar.bz2 aports-7e130731a332e3d5d593b52869e2f4e02da33f59.tar.xz | |
testing/thunderbird: upgrade to 68.2.0
Diffstat (limited to 'testing/thunderbird/fix-tools.patch')
| -rw-r--r-- | testing/thunderbird/fix-tools.patch | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/testing/thunderbird/fix-tools.patch b/testing/thunderbird/fix-tools.patch index edecb7f678..93b9d19c84 100644 --- a/testing/thunderbird/fix-tools.patch +++ b/testing/thunderbird/fix-tools.patch @@ -1,14 +1,23 @@ ---- a/tools/profiler/core/platform.h -+++ b/tools/profiler/core/platform.h -@@ -29,6 +29,8 @@ - #ifndef TOOLS_PLATFORM_H_ - #define TOOLS_PLATFORM_H_ - -+#include <sys/types.h> -+ - #include <stdint.h> - #include <math.h> - #include "MainThreadUtils.h" +diff --git a/tools/profiler/core/platform-linux-android.cpp b/tools/profiler/core/platform-linux-android.cpp +index 19d0a5c56d..b64b543066 100644 +--- a/tools/profiler/core/platform-linux-android.cpp ++++ b/tools/profiler/core/platform-linux-android.cpp +@@ -506,8 +506,10 @@ static void PlatformInit(PSLockRef aLock) {} + ucontext_t sSyncUContext; + + void Registers::SyncPopulate() { +- if (!getcontext(&sSyncUContext)) { +- PopulateRegsFromContext(*this, &sSyncUContext); +- } ++ #if defined(__GLIBC__) ++ if (!getcontext(&sSyncUContext)) { ++ PopulateRegsFromContext(*this, &sSyncUContext); ++ } ++ #endif + } + #endif +diff --git a/tools/profiler/lul/LulElf.cpp b/tools/profiler/lul/LulElf.cpp +index 9998d04d0d..348a7086fc 100644 --- a/tools/profiler/lul/LulElf.cpp +++ b/tools/profiler/lul/LulElf.cpp @@ -469,10 +469,10 @@ string FormatIdentifier(unsigned char identifier[16]) { @@ -25,21 +34,4 @@ + string base = p ? p+1 : c_filename; return base; } - ---- a/tools/profiler/core/platform-linux-android.cpp -+++ b/tools/profiler/core/platform-linux-android.cpp -@@ -497,8 +497,10 @@ static void PlatformInit(PSLockRef aLock) {} - ucontext_t sSyncUContext; - - void Registers::SyncPopulate() { -- if (!getcontext(&sSyncUContext)) { -- PopulateRegsFromContext(*this, &sSyncUContext); -- } -+ #if defined(__GLIBC__) -+ if (!getcontext(&sSyncUContext)) { -+ PopulateRegsFromContext(*this, &sSyncUContext); -+ } -+ #endif - } - #endif |
