diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-23 15:22:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-23 15:23:53 +0000 |
commit | b6ee7c5d8a5f54c54c344ee055d7e9a1af034fd6 (patch) | |
tree | 3fb7662aba0678369cf7761bd11e532271f4dfb4 /community/chromium/no-execinfo.patch | |
parent | 184d781b84f7990b784ec89f1d5fac34c51e0ee4 (diff) | |
download | aports-b6ee7c5d8a5f54c54c344ee055d7e9a1af034fd6.tar.bz2 aports-b6ee7c5d8a5f54c54c344ee055d7e9a1af034fd6.tar.xz |
community/chromium: upgrade to 73.0.3683.103
Diffstat (limited to 'community/chromium/no-execinfo.patch')
-rw-r--r-- | community/chromium/no-execinfo.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/community/chromium/no-execinfo.patch b/community/chromium/no-execinfo.patch index 95451f256b..8610ecc23d 100644 --- a/community/chromium/no-execinfo.patch +++ b/community/chromium/no-execinfo.patch @@ -1,6 +1,6 @@ ---- base/debug/stack_trace_posix.cc.orig 2017-07-27 14:05:05.534241443 +0000 -+++ base/debug/stack_trace_posix.cc 2017-07-27 14:07:54.669231362 +0000 -@@ -26,7 +26,7 @@ +--- ./base/debug/stack_trace_posix.cc.orig ++++ ./base/debug/stack_trace_posix.cc +@@ -27,7 +27,7 @@ #if !defined(USE_SYMBOLIZE) #include <cxxabi.h> #endif @@ -9,7 +9,7 @@ #include <execinfo.h> #endif -@@ -80,7 +80,7 @@ +@@ -86,7 +86,7 @@ // Note: code in this function is NOT async-signal safe (std::string uses // malloc internally). @@ -18,7 +18,7 @@ std::string::size_type search_from = 0; while (search_from < text->size()) { // Look for the start of a mangled symbol, from search_from. -@@ -115,7 +115,7 @@ +@@ -121,7 +121,7 @@ search_from = mangled_start + 2; } } @@ -27,8 +27,8 @@ } #endif // !defined(USE_SYMBOLIZE) -@@ -127,7 +127,7 @@ - virtual ~BacktraceOutputHandler() {} +@@ -133,7 +133,7 @@ + virtual ~BacktraceOutputHandler() = default; }; -#if !defined(__UCLIBC__) && !defined(_AIX) @@ -36,7 +36,7 @@ void OutputPointer(void* pointer, BacktraceOutputHandler* handler) { // This should be more than enough to store a 64-bit number in hex: // 16 hex digits + 1 for null-terminator. -@@ -204,7 +204,7 @@ +@@ -216,7 +216,7 @@ } #endif // defined(USE_SYMBOLIZE) } @@ -45,16 +45,16 @@ void PrintToStderr(const char* output) { // NOTE: This code MUST be async-signal safe (it's used by in-process -@@ -721,7 +721,7 @@ - // NOTE: This code MUST be async-signal safe (it's used by in-process - // stack dumping signal handler). NO malloc or stdio is allowed here. +@@ -812,7 +812,7 @@ + // NOTE: This code MUST be async-signal safe (it's used by in-process + // stack dumping signal handler). NO malloc or stdio is allowed here. -#if !defined(__UCLIBC__) && !defined(_AIX) +#if defined(__GLIBC__) && !defined(_AIX) - count = std::min(arraysize(trace_), count); - // Though the backtrace API man page does not list any possible negative -@@ -827,13 +827,13 @@ + // return values, we take no chance. + return base::saturated_cast<size_t>(backtrace(trace, count)); +@@ -825,13 +825,13 @@ // NOTE: This code MUST be async-signal safe (it's used by in-process // stack dumping signal handler). NO malloc or stdio is allowed here. |