SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/iridium/patches/patch-remoting_host_ipc_constants_cc
Normal file
21
www/iridium/patches/patch-remoting_host_ipc_constants_cc
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: remoting/host/ipc_constants.cc
|
||||
--- remoting/host/ipc_constants.cc.orig
|
||||
+++ remoting/host/ipc_constants.cc
|
||||
@@ -17,7 +17,7 @@ namespace remoting {
|
||||
|
||||
namespace {
|
||||
|
||||
-#if BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
// Use a different IPC name for debug builds so that we can run the host
|
||||
@@ -68,7 +68,7 @@ GetChromotingHostServicesServerName() {
|
||||
static const base::NoDestructor<mojo::NamedPlatformChannel::ServerName>
|
||||
server_name(
|
||||
named_mojo_ipc_server::WorkingDirectoryIndependentServerNameFromUTF8(
|
||||
-#if BUILDFLAG(IS_LINUX)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
||||
// Linux host creates the socket file in /tmp, and it won't be
|
||||
// deleted until reboot, so we put username in the path in case
|
||||
// the user switches the host owner.
|
Loading…
Add table
Add a link
Reference in a new issue