summaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-base_atomicops.h
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-07-15 22:57:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-07-15 23:02:24 +0900
commitd6775c3866b3a55fa254d8ad9c746953d80bad8e (patch)
treee486c7a0d074a5409e46c9ee82c72ca423ee7254 /devel/electron37/files/patch-base_atomicops.h
parentaudio/baresip: Update to 3.24.0 (diff)
devel/electron37: 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/electron37/files/patch-base_atomicops.h')
-rw-r--r--devel/electron37/files/patch-base_atomicops.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-base_atomicops.h b/devel/electron37/files/patch-base_atomicops.h
new file mode 100644
index 000000000000..9472cd0d7ae8
--- /dev/null
+++ b/devel/electron37/files/patch-base_atomicops.h
@@ -0,0 +1,14 @@
+--- base/atomicops.h.orig 2025-03-24 20:50:14 UTC
++++ base/atomicops.h
+@@ -74,7 +74,11 @@ typedef intptr_t Atomic64;
+
+ // Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
+ // Atomic64 routines below, depending on your architecture.
++#if !defined(OS_OPENBSD) && defined(__i386__)
++typedef Atomic32 AtomicWord;
++#else
+ typedef intptr_t AtomicWord;
++#endif
+
+ // Atomically execute:
+ // result = *ptr;