void-packages/srcpkgs/icecat/patches/gettid-musl.patch
Jürgen Buchmüller 7cec629479 icecat: update to 68.6.1
One has to roll hew own tarball with the IceCat 68 branch.
There are no official release tarballs anymore as it seems.
https://git.savannah.gnu.org/cgit/gnuzilla.git/log/?h=68

The result of me running ./makeicecat is available on my
https://distfiles.voidlinux.de site. It should perhaps be moved
to voidlinux.org distfiles.
2020-04-06 17:36:00 +02:00

11 lines
449 B
Diff

--- tools/profiler/core/platform-linux-android.cpp.orig 2019-07-09 22:58:30.039475686 +0200
+++ tools/profiler/core/platform-linux-android.cpp 2019-07-09 22:58:39.331437677 +0200
@@ -73,7 +73,7 @@
int profiler_current_thread_id() {
// glibc doesn't provide a wrapper for gettid().
-#if defined(__GLIBC__)
+#if defined(__linux__)
return static_cast<int>(static_cast<pid_t>(syscall(SYS_gettid)));
#else
return static_cast<int>(gettid());