diff --git a/srcpkgs/icecat/patches/fix-tools.patch b/srcpkgs/icecat/patches/fix-tools.patch index e64ce3c185a..a523f3597d3 100644 --- a/srcpkgs/icecat/patches/fix-tools.patch +++ b/srcpkgs/icecat/patches/fix-tools.patch @@ -26,3 +26,19 @@ return base; } +--- tools/profiler/core/platform-linux.cc 2017-05-04 23:35:47.000000000 +0200 ++++ tools/profiler/core/platform-linux.cc 2017-06-16 10:42:15.942410094 +0200 +@@ -683,11 +683,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, aContext); + } ++#endif + } + + void OS::SleepMicro(int microseconds)