SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
www/chromium/patches/patch-remoting_host_heartbeat_sender_cc
Normal file
12
www/chromium/patches/patch-remoting_host_heartbeat_sender_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: remoting/host/heartbeat_sender.cc
|
||||
--- remoting/host/heartbeat_sender.cc.orig
|
||||
+++ 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_MAC) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
||||
return net::GetHostName();
|
||||
#elif BUILDFLAG(IS_WIN)
|
||||
wchar_t buffer[MAX_PATH] = {0};
|
Loading…
Add table
Add a link
Reference in a new issue