SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
22
www/chromium/patches/patch-base_debug_stack_trace_cc
Normal file
22
www/chromium/patches/patch-base_debug_stack_trace_cc
Normal file
|
@ -0,0 +1,22 @@
|
|||
Index: base/debug/stack_trace.cc
|
||||
--- base/debug/stack_trace.cc.orig
|
||||
+++ base/debug/stack_trace.cc
|
||||
@@ -273,7 +273,9 @@ void StackTrace::Print() const {
|
||||
}
|
||||
|
||||
void StackTrace::OutputToStream(std::ostream* os) const {
|
||||
+#if !BUILDFLAG(IS_BSD)
|
||||
OutputToStreamWithPrefix(os, nullptr);
|
||||
+#endif
|
||||
}
|
||||
|
||||
std::string StackTrace::ToString() const {
|
||||
@@ -281,7 +283,7 @@ std::string StackTrace::ToString() const {
|
||||
}
|
||||
std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const {
|
||||
std::stringstream stream;
|
||||
-#if !defined(__UCLIBC__) && !defined(_AIX)
|
||||
+#if !defined(__UCLIBC__) && !defined(_AIX) && !BUILDFLAG(IS_BSD)
|
||||
OutputToStreamWithPrefix(&stream, prefix_string);
|
||||
#endif
|
||||
return stream.str();
|
Loading…
Add table
Add a link
Reference in a new issue