ports/devel/electron32/files/patch-remoting_host_ipc__constants.cc
Hiroki Tagato 63a5b151bf devel/electron32: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-09-23 04:58:21 +09:00

20 lines
838 B
C++

--- remoting/host/ipc_constants.cc.orig 2023-02-01 18:43:24 UTC
+++ 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.