]> git.draconx.ca Git - gentoo-fixes.git/blobdiff - www-client/firefox/files/firefox-52.9.0-glibc-2.30.patch
Resurrect firefox-52.9.0 ebuild.
[gentoo-fixes.git] / www-client / firefox / files / firefox-52.9.0-glibc-2.30.patch
diff --git a/www-client/firefox/files/firefox-52.9.0-glibc-2.30.patch b/www-client/firefox/files/firefox-52.9.0-glibc-2.30.patch
new file mode 100644 (file)
index 0000000..caa1141
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/tools/profiler/core/platform.h b/tools/profiler/core/platform.h
+index 2e736d97c..8f9c2ede3 100644
+--- a/tools/profiler/core/platform.h
++++ b/tools/profiler/core/platform.h
+@@ -61,7 +61,7 @@
+ // We need a definition of gettid(), but Linux libc implementations don't
+ // provide a wrapper for it (except for Bionic)
+-#if defined(__linux__)
++#if defined(__linux__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 30
+ #include <unistd.h>
+ #if !defined(__BIONIC__)
+ #include <sys/syscall.h>