void-packages/srcpkgs/chromium/patches/no-getcontext.patch
2015-12-05 09:29:19 +01:00

20 lines
531 B
Diff

--- ./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__)