diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-12-19 15:14:25 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-12-19 15:17:15 +0100 |
commit | eb846c24e504a3caad1c06b4a8cf466fd9c17334 (patch) | |
tree | 47d6390fb754a4be270fd5b408391572143d77c6 /community/chromium/no-getcontext.patch | |
parent | 7f0d3977e95250d61c6056ed11409ba1bba4ca84 (diff) | |
download | aports-eb846c24e504a3caad1c06b4a8cf466fd9c17334.tar.bz2 aports-eb846c24e504a3caad1c06b4a8cf466fd9c17334.tar.xz |
community/chromium: upgrade to 55.0.2883.87
Diffstat (limited to 'community/chromium/no-getcontext.patch')
-rw-r--r-- | community/chromium/no-getcontext.patch | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/community/chromium/no-getcontext.patch b/community/chromium/no-getcontext.patch index 4b87c6d170..846ef16c58 100644 --- a/community/chromium/no-getcontext.patch +++ b/community/chromium/no-getcontext.patch @@ -1,19 +1,27 @@ ---- ./breakpad/src/client/linux/handler/exception_handler.cc.orig -+++ ./breakpad/src/client/linux/handler/exception_handler.cc -@@ -460,7 +460,6 @@ +--- breakpad/src/client/linux/handler/exception_handler.cc.orig 2015-12-06 09:59:55.554536646 +0100 ++++ breakpad/src/client/linux/handler/exception_handler.cc 2015-12-06 10:01:16.818238035 +0100 +@@ -477,7 +477,9 @@ bool ExceptionHandler::SimulateSignalDel siginfo.si_code = SI_USER; siginfo.si_pid = getpid(); struct ucontext context; -- getcontext(&context); ++#if defined(__GLIBC__) + getcontext(&context); ++#endif return HandleSignal(sig, &siginfo, &context); } -@@ -628,8 +627,6 @@ +@@ -647,9 +649,14 @@ bool ExceptionHandler::WriteMinidump() { sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); CrashContext context; -- int getcontext_result = getcontext(&context.context); -- if (getcontext_result) ++ ++#if defined(__GLIBC__) + int getcontext_result = getcontext(&context.context); + if (getcontext_result) return false; ++#else ++ return false; ++#endif #if defined(__i386__) + // In CPUFillFromUContext in minidumpwriter.cc the stack pointer is retrieved |