From a561dcad7e91800b1178c74a375250efd0c3cb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 16 Jun 2017 10:43:13 +0200 Subject: [PATCH] icecat: fix musl --- srcpkgs/icecat/patches/fix-tools.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/srcpkgs/icecat/patches/fix-tools.patch b/srcpkgs/icecat/patches/fix-tools.patch index e64ce3c185..a523f3597d 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)