summarylogtreecommitdiffstats
path: root/remove-static-tgkill.patch
diff options
context:
space:
mode:
authorRafał Kozdrój2019-10-15 15:28:40 +0200
committerRafał Kozdrój2019-10-15 15:28:40 +0200
commit4926084d1b6a056830e47fce72c44e1d8098b987 (patch)
tree3b439347736592b76969f787b2286bcd654c0f47 /remove-static-tgkill.patch
parenta0e8ded2cbeda47d35c9577ab09129dfe44ec78b (diff)
downloadaur-4926084d1b6a056830e47fce72c44e1d8098b987.tar.gz
upgpkg: megasync 4.2.5-3
Diffstat (limited to 'remove-static-tgkill.patch')
-rw-r--r--remove-static-tgkill.patch17
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 {