diff options
Diffstat (limited to 'devel/electron23/files/patch-remoting_host_heartbeat__sender.cc')
-rw-r--r-- | devel/electron23/files/patch-remoting_host_heartbeat__sender.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-remoting_host_heartbeat__sender.cc b/devel/electron23/files/patch-remoting_host_heartbeat__sender.cc new file mode 100644 index 000000000000..4fe0d5bb8558 --- /dev/null +++ b/devel/electron23/files/patch-remoting_host_heartbeat__sender.cc @@ -0,0 +1,11 @@ +--- remoting/host/heartbeat_sender.cc.orig 2022-02-28 16:54:41 UTC ++++ remoting/host/heartbeat_sender.cc +@@ -111,7 +111,7 @@ const net::BackoffEntry::Policy kBackoffPolicy = { + std::string GetHostname() { + // TODO(crbug.com/1052397): Revisit the macro expression once build flag + // switch of lacros-chrome is complete. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) + return net::GetHostName(); + #elif BUILDFLAG(IS_WIN) + wchar_t buffer[MAX_PATH] = {0}; |