diff --git a/srcpkgs/firefox/patches/fix-tools.patch b/srcpkgs/firefox/patches/fix-tools.patch index c48258d6ffe..80e79173bc2 100644 --- a/srcpkgs/firefox/patches/fix-tools.patch +++ b/srcpkgs/firefox/patches/fix-tools.patch @@ -3,7 +3,7 @@ @@ -29,6 +29,8 @@ #ifndef TOOLS_PLATFORM_H_ #define TOOLS_PLATFORM_H_ - + +#include + #include @@ -25,20 +25,17 @@ + string base = p ? p+1 : c_filename; return base; } - + --- tools/profiler/core/platform-linux-android.cpp.orig +++ tools/profiler/core/platform-linux-android.cpp -@@ -715,11 +715,13 @@ - void TickSample::PopulateContext(void* aContext) - { +@@ -505,8 +505,10 @@ + MOZ_ASSERT(mIsSynchronous); MOZ_ASSERT(aContext); + +#if defined(__GLIBC__) - ucontext_t* pContext = reinterpret_cast(aContext); - if (!getcontext(pContext)) { - context = pContext; - SetSampleContext(this, - reinterpret_cast(aContext)->uc_mcontext); + if (!getcontext(aContext)) { + FillInSample(*this, aContext); } +#endif } - + diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 0970e9f2bb6..3b532d62e08 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -1,13 +1,13 @@ # Template build file for 'firefox'. pkgname=firefox -version=54.0.1 +version=55.0.1 revision=1 short_desc="Mozilla Firefox web browser" maintainer="Juan RP " homepage="https://www.mozilla.org/firefox/" license="MPL-2.0, GPL-2, LGPL-2.1" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz" -checksum=07843e68f2f64842bb230b7fe821e45c82944e64dc3f2a3a90d3ea9f1efa7f77 +checksum=827c26ed1940ce22aeeec98120cbe1a415365929a9186a0bc3c4c17726a9a9d3 only_for_archs="i686 i686-musl x86_64 x86_64-musl" nopie=yes