diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-05-17 13:00:51 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-05-17 13:02:57 +0900 |
commit | 8bd9cc08b803173bbc7e68479f6e7be9735980f4 (patch) | |
tree | 71f5fcbea6aec8fdfd22ae5e4be385a99ec5655f /devel/electron36/files/patch-base_syslog__logging.cc | |
parent | net-mgmt/prometheus-bird-exporter: Prometheus metric exporter for the BIRD ro... (diff) |
devel/electron36: 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/
Diffstat (limited to 'devel/electron36/files/patch-base_syslog__logging.cc')
-rw-r--r-- | devel/electron36/files/patch-base_syslog__logging.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-base_syslog__logging.cc b/devel/electron36/files/patch-base_syslog__logging.cc new file mode 100644 index 000000000000..74d7fa1c5483 --- /dev/null +++ b/devel/electron36/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) + // <syslog.h> defines LOG_INFO, LOG_WARNING macros that could conflict with + // base::LOG_INFO, base::LOG_WARNING. + #include <syslog.h> +@@ -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 |