diff options
Diffstat (limited to 'remove-static-tgkill.patch')
-rw-r--r-- | remove-static-tgkill.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/remove-static-tgkill.patch b/remove-static-tgkill.patch new file mode 100644 index 000000000000..9ae43a56f76d --- /dev/null +++ b/remove-static-tgkill.patch @@ -0,0 +1,17 @@ +diff --git a/src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc b/src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc +index 48f91682..d40de082 100644 +--- a/src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc ++++ b/src/MEGASync/google_breakpad/client/linux/handler/exception_handler.cc +@@ -103,12 +103,6 @@ + #define PR_SET_PTRACER 0x59616d61 + #endif + +-// A wrapper for the tgkill syscall: send a signal to a specific thread. +-static int tgkill(pid_t tgid, pid_t tid, int sig) { +- return syscall(__NR_tgkill, tgid, tid, sig); +- return 0; +-} +- + namespace google_breakpad { + + namespace { |