summaryrefslogtreecommitdiff
path: root/devel/electron35/files/patch-base_compiler__specific.h
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-04-08 20:53:58 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-04-08 21:01:02 +0900
commit3fe2f6485774f321c82617a884c2e1e4d350f55a (patch)
treea15a37d0f2059a8ac5d38697fb0d73a2d7cee5ee /devel/electron35/files/patch-base_compiler__specific.h
parentwww/deno: Add test target (diff)
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/
Diffstat (limited to 'devel/electron35/files/patch-base_compiler__specific.h')
-rw-r--r--devel/electron35/files/patch-base_compiler__specific.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/electron35/files/patch-base_compiler__specific.h b/devel/electron35/files/patch-base_compiler__specific.h
new file mode 100644
index 000000000000..8c367a61e245
--- /dev/null
+++ b/devel/electron35/files/patch-base_compiler__specific.h
@@ -0,0 +1,10 @@
+--- base/compiler_specific.h.orig 2025-03-24 20:50:14 UTC
++++ base/compiler_specific.h
+@@ -729,6 +729,7 @@ inline constexpr bool AnalyzerAssumeTrue(bool arg) {
+ #if __has_cpp_attribute(clang::preserve_most) && \
+ (defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_X86_64)) && \
+ !defined(COMPONENT_BUILD) && \
++ !BUILDFLAG(IS_OPENBSD) && \
+ !(BUILDFLAG(IS_WIN) && defined(ARCH_CPU_ARM64))
+ #define PRESERVE_MOST [[clang::preserve_most]]
+ #else