summaryrefslogtreecommitdiffstats
path: root/source/xap/seamonkey/seamonkey.gettid.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-03-02 19:05:10 +0000
committer Eric Hameleers <alien@slackware.com>2020-03-03 08:59:49 +0100
commit11403357f20e37f8613bb0ea1cdc51c34c51f8a6 (patch)
tree09017083592f25e160079721bc5b91493f4b80ed /source/xap/seamonkey/seamonkey.gettid.patch
parentc10b5e1e04d4eae2e67963233548ed7053dd3be3 (diff)
downloadcurrent-11403357f20e37f8613bb0ea1cdc51c34c51f8a6.tar.gz
current-11403357f20e37f8613bb0ea1cdc51c34c51f8a6.tar.xz
Mon Mar 2 19:05:10 UTC 202020200302190510
a/dialog-1.3_20200228-x86_64-1.txz: Upgraded. l/Mako-1.1.2-x86_64-1.txz: Upgraded. l/imagemagick-7.0.9_27-x86_64-1.txz: Upgraded. l/libcap-2.33-x86_64-1.txz: Upgraded. n/bind-9.16.0-x86_64-2.txz: Rebuilt. rc.bind: ensure /var/run/named exists before starting named. Thanks to MarcT. rc.bind: when stopping named, only kill processes in the current namespace. x/libevdev-1.9.0-x86_64-1.txz: Upgraded. x/wayland-protocols-1.20-noarch-1.txz: Upgraded. xap/seamonkey-2.53.1-x86_64-1.txz: Upgraded. This update contains security fixes and improvements. For more information, see: https://www.seamonkey-project.org/releases/seamonkey2.53.1 (* Security fix *) testing/packages/PAM/libcap-2.33-x86_64-1_pam.txz: Upgraded.
Diffstat (limited to 'source/xap/seamonkey/seamonkey.gettid.patch')
-rw-r--r--source/xap/seamonkey/seamonkey.gettid.patch40
1 files changed, 30 insertions, 10 deletions
diff --git a/source/xap/seamonkey/seamonkey.gettid.patch b/source/xap/seamonkey/seamonkey.gettid.patch
index 81d5eabf9..42a39247b 100644
--- a/source/xap/seamonkey/seamonkey.gettid.patch
+++ b/source/xap/seamonkey/seamonkey.gettid.patch
@@ -1,15 +1,35 @@
-diff -Nrbu seamonkey-2.49.4/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h seamonkey-2.49.4-OK/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h
---- seamonkey-2.49.4/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2018-07-12 05:19:15.000000000 +0300
-+++ seamonkey-2.49.4-OK/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2019-07-27 20:31:47.675086876 +0300
-@@ -65,10 +65,7 @@
- #include <unistd.h>
- #if !defined(__BIONIC__)
- #include <sys/syscall.h>
+--- ./mozilla/tools/profiler/core/platform.h.orig 2020-02-17 17:39:44.000000000 -0600
++++ ./mozilla/tools/profiler/core/platform.h 2020-02-29 22:43:51.381996340 -0600
+@@ -43,32 +43,6 @@
+ #include <vector>
+ #include "StackTop.h"
+
+-// We need a definition of gettid(), but glibc doesn't provide a
+-// wrapper for it.
+-#if defined(__GLIBC__)
+-#include <unistd.h>
+-#include <sys/syscall.h>
-static inline pid_t gettid()
-{
- return (pid_t) syscall(SYS_gettid);
-}
-+
- #endif
- #endif
+-#elif defined(GP_OS_darwin)
+-#include <unistd.h>
+-#include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+- return (pid_t) syscall(SYS_thread_selfid);
+-}
+-#elif defined(GP_OS_android)
+-#include <unistd.h>
+-#elif defined(GP_OS_windows)
+-#include <windows.h>
+-#include <process.h>
+-#ifndef getpid
+-#define getpid _getpid
+-#endif
+-#endif
+-
+ extern mozilla::LazyLogModule gProfilerLog;
+ // These are for MOZ_LOG="prof:3" or higher. It's the default logging level for