void-packages/srcpkgs/firefox-esr/patches/fix-tools.patch
Jürgen Buchmüller 8e86987d56 firefox-esr: update to 78.4.0
[ci skip]
2020-11-06 21:19:35 +01:00

13 lines
402 B
Diff

--- tools/profiler/core/platform-linux-android.cpp.orig 2019-01-29 12:09:40.980448579 +0100
+++ tools/profiler/core/platform-linux-android.cpp 2019-01-29 12:11:09.689590967 +0100
@@ -497,8 +501,10 @@
ucontext_t sSyncUContext;
void Registers::SyncPopulate() {
+#if defined(__GLIBC__)
if (!getcontext(&sSyncUContext)) {
PopulateRegsFromContext(*this, &sSyncUContext);
}
+#endif
}
#endif