aports/unmaintained/seamonkey/fix-platform-linux.patch
Alex Xu (Hello71) f87bf7e50c unmaintained/seamonkey: move from testing
no bumps for upstream security updates since 2.53.1 was released Feb
2020. note [0] "Warning! The SeaMonkey version available for download
from this page is outdated and may suffer from known security
vulnerabilities." for this type of highly exposed security-sensitive
software, there must be a maintainer responsible for regular and timely
updates, not just once every couple years.

[0] https://www.seamonkey-project.org/releases/2.49.5
2021-09-02 13:49:32 +00:00

14 lines
319 B
Diff

--- seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc.orig
+++ seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc
@@ -98,6 +98,10 @@
#define SIGNAL_SAVE_PROFILE SIGUSR2
+#ifndef gettid
+#define gettid() syscall(SYS_gettid)
+#endif
+
using namespace mozilla;
#if defined(USE_LUL_STACKWALK)