summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-06-14 08:22:39 -0400
committerB Stack <bgstack15@gmail.com>2019-06-14 08:22:39 -0400
commit5e2f41ec608aa0917009554b5f09546eedd42875 (patch)
tree0a010f0fa1e30696fdc04b0580dc248b70a0ec69
parentadd mozilla-1533969 for palemoon (diff)
downloadstackrpms-5e2f41ec608aa0917009554b5f09546eedd42875.tar.gz
stackrpms-5e2f41ec608aa0917009554b5f09546eedd42875.tar.bz2
stackrpms-5e2f41ec608aa0917009554b5f09546eedd42875.zip
add another file to be patched by mz 1533969
-rw-r--r--palemoon/mozilla-1533969-palemoon.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/palemoon/mozilla-1533969-palemoon.patch b/palemoon/mozilla-1533969-palemoon.patch
index 074f0fd..fa9df33 100644
--- a/palemoon/mozilla-1533969-palemoon.patch
+++ b/palemoon/mozilla-1533969-palemoon.patch
@@ -2,6 +2,7 @@ Source: https://bugzilla.mozilla.org/show_bug.cgi?id=1533969
From: Emilio Cobos Álvarez (:emilio) https://bugzilla.mozilla.org/user_profile?user_id=546716
Date: 2091-03-12 15:08 PDT
Modified for Pale Moon by: B Stack <bgstack15@gmail.com>
+This patch is applicable for all versions of Fedora GNU/Linux, but it really only affects gcc >= 9.1.1 in fc == 31
--- tools/profiler/tasktracer/GeckoTaskTracer.cpp.orig 2019-06-04 18:16:01.000000000 -0400
+++ tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-06-13 13:16:29.160643732 -0400
@@ -20,19 +20,19 @@
@@ -27,3 +28,18 @@ Modified for Pale Moon by: B Stack <bgstack15@gmail.com>
{
return (pid_t) syscall(SYS_thread_selfid);
}
+--- js/src/jsnativestack.cpp.orig 2019-06-04 18:16:01.000000000 -0400
++++ js/src/jsnativestack.cpp 2019-06-14 08:13:04.080567510 -0400
+@@ -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(SYS_gettid))
+ # endif
+
+ #else
bgstack15