summarylogtreecommitdiffstats
path: root/gettid.patch
diff options
context:
space:
mode:
authorBrian Bidulock2020-04-16 00:57:04 -0600
committerBrian Bidulock2020-04-16 00:57:04 -0600
commit6f46832d589e471a0987adfe4995ed80c39533cd (patch)
tree1fdef37b77a1fd6fd178dfa117256f54858f13bd /gettid.patch
parent08df406a40ea4b10068981d5559fab6cdf884596 (diff)
downloadaur-seamonkey-gtk2.tar.gz
update for current libraries
Diffstat (limited to 'gettid.patch')
-rw-r--r--gettid.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gettid.patch b/gettid.patch
new file mode 100644
index 000000000000..27a1b017e013
--- /dev/null
+++ b/gettid.patch
@@ -0,0 +1,13 @@
+--- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h.orig 2020-04-09 05:40:25.587372314 +0300
++++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2020-04-09 05:41:24.195387788 +0300
+@@ -65,10 +65,6 @@
+ #include <unistd.h>
+ #if !defined(__BIONIC__)
+ #include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+- return (pid_t) syscall(SYS_gettid);
+-}
+ #endif
+ #endif
+