From 5ff73b650bb0507565c6a4e289ef227b5879c88f Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Sun, 9 Nov 2025 23:12:53 +0900 Subject: devel/electron39: 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/electron39/files/patch-v8_include_v8config.h | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 devel/electron39/files/patch-v8_include_v8config.h (limited to 'devel/electron39/files/patch-v8_include_v8config.h') diff --git a/devel/electron39/files/patch-v8_include_v8config.h b/devel/electron39/files/patch-v8_include_v8config.h new file mode 100644 index 000000000000..0f685c900d0f --- /dev/null +++ b/devel/electron39/files/patch-v8_include_v8config.h @@ -0,0 +1,45 @@ +--- v8/include/v8config.h.orig 2025-10-21 20:19:54 UTC ++++ v8/include/v8config.h +@@ -207,6 +207,8 @@ path. Add it with -I to the command line + && !defined(V8_TARGET_OS_IOS) \ + && !defined(V8_TARGET_OS_TVOS) \ + && !defined(V8_TARGET_OS_LINUX) \ ++ && !defined(V8_TARGET_OS_OPENBSD) \ ++ && !defined(V8_TARGET_OS_FREEBSD) \ + && !defined(V8_TARGET_OS_MACOS) \ + && !defined(V8_TARGET_OS_WIN) \ + && !defined(V8_TARGET_OS_CHROMEOS) +@@ -220,6 +222,8 @@ path. Add it with -I to the command line + || defined(V8_TARGET_OS_IOS) \ + || defined(V8_TARGET_OS_TVOS) \ + || defined(V8_TARGET_OS_LINUX) \ ++ || defined(V8_TARGET_OS_OPENBSD) \ ++ || defined(V8_TARGET_OS_FREEBSD) \ + || defined(V8_TARGET_OS_MACOS) \ + || defined(V8_TARGET_OS_WIN) \ + || defined(V8_TARGET_OS_CHROMEOS) +@@ -247,6 +251,16 @@ path. Add it with -I to the command line + # define V8_TARGET_OS_LINUX + #endif + ++#ifdef V8_OS_OPENBSD ++# define V8_TARGET_OS_OPENBSD ++# define V8_TARGET_OS_BSD ++#endif ++ ++#ifdef V8_OS_FREEBSD ++# define V8_TARGET_OS_OPENBSD ++# define V8_TARGET_OS_BSD ++#endif ++ + #ifdef V8_OS_MACOS + # define V8_TARGET_OS_MACOS + #endif +@@ -394,6 +408,7 @@ path. Add it with -I to the command line + #if (defined(_M_X64) || defined(__x86_64__) /* x64 (everywhere) */ \ + || ((defined(__AARCH64EL__) || defined(_M_ARM64)) /* arm64, but ... */ \ + && !defined(_WIN32))) /* not on windows */ \ ++ && !defined(__OpenBSD__) /* not on OpenBSD */ \ + && !defined(COMPONENT_BUILD) /* no component build */\ + && __clang_major__ >= 17 /* clang >= 17 */ + # define V8_HAS_ATTRIBUTE_PRESERVE_MOST (__has_attribute(preserve_most)) -- cgit v1.2.3