summaryrefslogtreecommitdiffstats
path: root/network/basilisk/glibc-2.30+.patch
diff options
context:
space:
mode:
author khronosschoty2019-10-23 07:32:35 +0200
committer Willy Sudiarto Raharjo2019-10-23 07:32:50 +0200
commitb87b91f5be0b2b24d0f6206c541c7d4f9832d71c (patch)
treeb2994226104748ad2dc7077e598baf35e15d3acb /network/basilisk/glibc-2.30+.patch
parent99a6942169400add7133d362547bd7a1fd70e0e9 (diff)
downloadslackbuilds-b87b91f5be0b2b24d0f6206c541c7d4f9832d71c.tar.gz
network/basilisk: Updated for version 2019.09.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/basilisk/glibc-2.30+.patch')
-rw-r--r--network/basilisk/glibc-2.30+.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/network/basilisk/glibc-2.30+.patch b/network/basilisk/glibc-2.30+.patch
new file mode 100644
index 0000000000..b67945d12a
--- /dev/null
+++ b/network/basilisk/glibc-2.30+.patch
@@ -0,0 +1,43 @@
+--- tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-23 01:47:27.000000000 +0200
++++ tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-29 18:02:44.541959971 +0200
+@@ -25,20 +25,14 @@
+ #if defined(__GLIBC__)
+ #include <unistd.h>
+ #include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+- return (pid_t) syscall(SYS_gettid);
+-}
++#define gettid() static_cast<pid_t>(syscall(SYS_gettid))
+ #elif defined(XP_MACOSX)
+ #include <unistd.h>
+ #include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+- return (pid_t) syscall(SYS_thread_selfid);
+-}
++#define gettid() static_cast<pid_t>(syscall(SYS_thread_selfid))
+ #elif defined(LINUX)
+ #include <sys/types.h>
+-pid_t gettid();
++#pid_t gettid();
+ #endif
+
+ // NS_ENSURE_TRUE_VOID() without the warning on the debug build.
+
+
+--- js/src/jsnativestack.cpp 2019-08-29 17:45:10.000000000 +0200
++++ js/src/jsnativestack.cpp 2019-08-29 17:53:58.382003265 +0200
+@@ -26,11 +26,7 @@
+ # include <sys/syscall.h>
+ # include <sys/types.h>
+ # include <unistd.h>
+-static pid_t
+-gettid()
+-{
+- return syscall(__NR_gettid);
+-}
++# define gettid() static_cast<pid_t>(syscall(__NR_gettid))
+ # endif
+
+ #else