void-packages/srcpkgs/icecat/patches/fix-tools.patch
Jürgen Buchmüller f03f23a76e icecat: update to 78.4.0
Disable cross for now.

[ci skip]
2020-10-23 23:55:59 +02: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