aboutsummaryrefslogtreecommitdiff
path: root/devel/electron27/files/patch-third__party_ipcz_src_standalone_base_logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron27/files/patch-third__party_ipcz_src_standalone_base_logging.cc')
-rw-r--r--devel/electron27/files/patch-third__party_ipcz_src_standalone_base_logging.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron27/files/patch-third__party_ipcz_src_standalone_base_logging.cc b/devel/electron27/files/patch-third__party_ipcz_src_standalone_base_logging.cc
new file mode 100644
index 000000000000..e78ffde6fb39
--- /dev/null
+++ b/devel/electron27/files/patch-third__party_ipcz_src_standalone_base_logging.cc
@@ -0,0 +1,12 @@
+--- third_party/ipcz/src/standalone/base/logging.cc.orig 2022-05-19 14:06:27 UTC
++++ third_party/ipcz/src/standalone/base/logging.cc
+@@ -50,6 +50,9 @@ LogMessage::LogMessage(const char* file, int line, Lev
+ #elif BUILDFLAG(IS_ANDROID)
+ stream_ << getpid() << ":" << gettid() << ":";
+ const char* trimmed_file = strrchr(file, '/') + 1;
++#elif BUILDFLAG(IS_BSD)
++ stream_ << getpid() << ":" << pthread_self() << ":";
++ const char* trimmed_file = strrchr(file, '/') + 1;
+ #elif BUILDFLAG(IS_WIN)
+ const char* trimmed_file = file;
+ stream_ << (::GetCurrentProcessId()) << ":" << ::GetCurrentThreadId() << ":";