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_linux__util.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_linux__util.cc')
-rw-r--r-- | devel/electron36/files/patch-base_linux__util.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-base_linux__util.cc b/devel/electron36/files/patch-base_linux__util.cc new file mode 100644 index 000000000000..3e05f9677301 --- /dev/null +++ b/devel/electron36/files/patch-base_linux__util.cc @@ -0,0 +1,17 @@ +--- base/linux_util.cc.orig 2025-04-22 20:15:27 UTC ++++ base/linux_util.cc +@@ -163,10 +163,14 @@ bool GetThreadsForProcess(pid_t pid, std::vector<pid_t + } + + bool GetThreadsForProcess(pid_t pid, std::vector<pid_t>* tids) { ++#if BUILDFLAG(IS_BSD) ++ return false; ++#else + // 25 > strlen("/proc//task") + strlen(base::NumberToString(INT_MAX)) + 1 = 22 + char buf[25]; + strings::SafeSPrintf(buf, "/proc/%d/task", pid); + return GetThreadsFromProcessDir(buf, tids); ++#endif + } + + bool GetThreadsForCurrentProcess(std::vector<pid_t>* tids) { |