diff options
author | Marian Buschsieweke <marian.buschsieweke@ovgu.de> | 2017-08-18 00:07:31 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-18 22:45:55 +0000 |
commit | 3bb3751c0f9e6163cf88e8c0bdca945af0efc796 (patch) | |
tree | ae06d9d8271e75e6cad999219a94b9e762606fed /testing/firefox/fix-tools.patch | |
parent | 436fef28eec5000a5a2ea793a6c967830e2fa8e6 (diff) | |
download | aports-3bb3751c0f9e6163cf88e8c0bdca945af0efc796.tar.bz2 aports-3bb3751c0f9e6163cf88e8c0bdca945af0efc796.tar.xz |
testing/firefox: Update to version 55.0.2
rebase fix-tools.patch
Diffstat (limited to 'testing/firefox/fix-tools.patch')
-rw-r--r-- | testing/firefox/fix-tools.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/testing/firefox/fix-tools.patch b/testing/firefox/fix-tools.patch index c7357b6f7e..ff6622582f 100644 --- a/testing/firefox/fix-tools.patch +++ b/testing/firefox/fix-tools.patch @@ -1,25 +1,25 @@ +for basename() see https://bugzilla.mozilla.org/show_bug.cgi?id=1041962 + +diff --git a/tools/profiler/core/platform-linux-android.cpp b/tools/profiler/core/platform-linux-android.cpp +index 70b43d5..686748e 100644 --- a/tools/profiler/core/platform-linux-android.cpp +++ b/tools/profiler/core/platform-linux-android.cpp -@@ -715,11 +715,13 @@ - void TickSample::PopulateContext(void* aContext) - { +@@ -505,8 +505,10 @@ TickSample::PopulateContext(ucontext_t* aContext) + MOZ_ASSERT(mIsSynchronous); MOZ_ASSERT(aContext); -+#if defined(__GLIBC__) - ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext); - if (!getcontext(pContext)) { - context = pContext; - SetSampleContext(this, - reinterpret_cast<ucontext_t*>(aContext)->uc_mcontext); + ++#if defined(__GLIBC__) || defined(GP_OS_android) + if (!getcontext(aContext)) { + FillInSample(*this, aContext); } +#endif } - void OS::SleepMicro(int microseconds) diff --git a/tools/profiler/lul/LulElf.cpp b/tools/profiler/lul/LulElf.cpp -index a922137..d01dde1 100644 +index cb5bee3..2be2aa9 100644 --- a/tools/profiler/lul/LulElf.cpp +++ b/tools/profiler/lul/LulElf.cpp -@@ -483,10 +483,10 @@ string FormatIdentifier(unsigned char identifier[16]) { +@@ -484,10 +484,10 @@ string FormatIdentifier(unsigned char identifier[16]) { // Return the non-directory portion of FILENAME: the portion after the // last slash, or the whole filename if there are no slashes. string BaseFileName(const string &filename) { |