aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chromium/no-getcontext.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-07-01 16:14:20 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-07-01 16:14:20 +0200
commit5fea4db05e1803bc55b2e71a80ee0a97302eac81 (patch)
tree6659d35caab3c7fc630b23668976088e58680914 /testing/chromium/no-getcontext.patch
parent901b6ee3e3a0dd5eea55bf05742024d43591327c (diff)
downloadaports-5fea4db05e1803bc55b2e71a80ee0a97302eac81.tar.bz2
aports-5fea4db05e1803bc55b2e71a80ee0a97302eac81.tar.xz
testing/chromium: new aport
this is a WIP. included patches need a cleanup. would be nice to link against libexecinfo and remove its patch.
Diffstat (limited to 'testing/chromium/no-getcontext.patch')
-rw-r--r--testing/chromium/no-getcontext.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/chromium/no-getcontext.patch b/testing/chromium/no-getcontext.patch
new file mode 100644
index 0000000000..4b87c6d170
--- /dev/null
+++ b/testing/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__)