aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/no-getcontext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/no-getcontext.patch')
-rw-r--r--community/chromium/no-getcontext.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/chromium/no-getcontext.patch b/community/chromium/no-getcontext.patch
new file mode 100644
index 0000000000..4b87c6d170
--- /dev/null
+++ b/community/chromium/no-getcontext.patch
@@ -0,0 +1,19 @@
+--- ./breakpad/src/client/linux/handler/exception_handler.cc.orig
++++ ./breakpad/src/client/linux/handler/exception_handler.cc
+@@ -460,7 +460,6 @@
+ siginfo.si_code = SI_USER;
+ siginfo.si_pid = getpid();
+ struct ucontext context;
+- getcontext(&context);
+ return HandleSignal(sig, &siginfo, &context);
+ }
+
+@@ -628,8 +627,6 @@
+ sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
+
+ CrashContext context;
+- int getcontext_result = getcontext(&context.context);
+- if (getcontext_result)
+ return false;
+
+ #if defined(__i386__)