ports/devel/electron32/files/patch-remoting_host_chromoting__host.h
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

29 lines
1.2 KiB
C++

--- remoting/host/chromoting_host.h.orig 2023-10-19 19:58:29 UTC
+++ remoting/host/chromoting_host.h
@@ -32,7 +32,7 @@
#include "remoting/protocol/session_manager.h"
#include "remoting/protocol/transport_context.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "remoting/host/chromoting_host_services_server.h"
#endif
@@ -97,7 +97,7 @@ class ChromotingHost : public ClientSession::EventHand
// This method can only be called once during the lifetime of this object.
void Start(const std::string& host_owner);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Starts running the ChromotingHostServices server and listening for incoming
// IPC binding requests.
// Currently only Linux runs the ChromotingHostServices server on the host
@@ -206,7 +206,7 @@ class ChromotingHost : public ClientSession::EventHand
// List of host extensions.
std::vector<std::unique_ptr<HostExtension>> extensions_;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// IPC server that runs the CRD host service API. Non-null if the server name
// is set and the host is started.
// Currently only Linux runs the ChromotingHostServices server on the host