diff --git a/srcpkgs/firefox/patches/fix-tools.patch b/srcpkgs/firefox/patches/fix-tools.patch index e64ce3c185a..c48258d6ffe 100644 --- a/srcpkgs/firefox/patches/fix-tools.patch +++ b/srcpkgs/firefox/patches/fix-tools.patch @@ -26,3 +26,19 @@ 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) + { + MOZ_ASSERT(aContext); ++#if defined(__GLIBC__) + ucontext_t* pContext = reinterpret_cast(aContext); + if (!getcontext(pContext)) { + context = pContext; + SetSampleContext(this, + reinterpret_cast(aContext)->uc_mcontext); + } ++#endif + } +