From 600622a50b18c59a994635a6aa4b0b6b53ba2de7 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 20 Apr 2017 18:59:14 +0200 Subject: [PATCH] firefox: fix musl --- srcpkgs/firefox/patches/fix-musl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/firefox/patches/fix-musl.patch diff --git a/srcpkgs/firefox/patches/fix-musl.patch b/srcpkgs/firefox/patches/fix-musl.patch new file mode 100644 index 00000000000..c32921d39e1 --- /dev/null +++ b/srcpkgs/firefox/patches/fix-musl.patch @@ -0,0 +1,11 @@ +--- tools/profiler/core/platform.h.orig ++++ tools/profiler/core/platform.h +@@ -56,7 +56,7 @@ + + // We need a definition of gettid(), but glibc doesn't provide a + // wrapper for it. +-#if defined(__GLIBC__) ++#if defined(__linux__) + #include + #include + static inline pid_t gettid()