From 3fe2f6485774f321c82617a884c2e1e4d350f55a Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Tue, 8 Apr 2025 20:53:58 +0900 Subject: devel/electron35: 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/ --- devel/electron35/files/patch-base_syslog__logging.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 devel/electron35/files/patch-base_syslog__logging.cc (limited to 'devel/electron35/files/patch-base_syslog__logging.cc') diff --git a/devel/electron35/files/patch-base_syslog__logging.cc b/devel/electron35/files/patch-base_syslog__logging.cc new file mode 100644 index 000000000000..74d7fa1c5483 --- /dev/null +++ b/devel/electron35/files/patch-base_syslog__logging.cc @@ -0,0 +1,20 @@ +--- base/syslog_logging.cc.orig 2025-03-24 20:50:14 UTC ++++ base/syslog_logging.cc +@@ -17,7 +17,7 @@ + #include "base/strings/string_util.h" + #include "base/win/scoped_handle.h" + #include "base/win/win_util.h" +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // defines LOG_INFO, LOG_WARNING macros that could conflict with + // base::LOG_INFO, base::LOG_WARNING. + #include +@@ -151,7 +151,7 @@ EventLogMessage::~EventLogMessage() { + if (user_sid != nullptr) { + ::LocalFree(user_sid); + } +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + const char kEventSource[] = "chrome"; + openlog(kEventSource, LOG_NOWAIT | LOG_PID, LOG_USER); + // We can't use the defined names for the logging severity from syslog.h -- cgit v1.2.3