aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fix-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/firefox-esr/fix-musl.patch')
-rw-r--r--community/firefox-esr/fix-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/firefox-esr/fix-musl.patch b/community/firefox-esr/fix-musl.patch
new file mode 100644
index 0000000000..996a45f130
--- /dev/null
+++ b/community/firefox-esr/fix-musl.patch
@@ -0,0 +1,11 @@
+--- a/tools/profiler/core/platform-linux-android.cpp 2019-07-09 22:58:30.039475686 +0200
++++ b/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());