summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-v8_include_v8config.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-v8_include_v8config.h')
-rw-r--r--www/ungoogled-chromium/files/patch-v8_include_v8config.h30
1 files changed, 20 insertions, 10 deletions
diff --git a/www/ungoogled-chromium/files/patch-v8_include_v8config.h b/www/ungoogled-chromium/files/patch-v8_include_v8config.h
index 4bcce5d3f405..140e0c343446 100644
--- a/www/ungoogled-chromium/files/patch-v8_include_v8config.h
+++ b/www/ungoogled-chromium/files/patch-v8_include_v8config.h
@@ -1,6 +1,6 @@
---- v8/include/v8config.h.orig 2024-07-31 14:19:23 UTC
+--- v8/include/v8config.h.orig 2024-08-26 14:40:28 UTC
+++ v8/include/v8config.h
-@@ -193,6 +193,8 @@ path. Add it with -I<path> to the command line
+@@ -201,6 +201,8 @@ path. Add it with -I<path> to the command line
&& !defined(V8_TARGET_OS_FUCHSIA) \
&& !defined(V8_TARGET_OS_IOS) \
&& !defined(V8_TARGET_OS_LINUX) \
@@ -9,7 +9,7 @@
&& !defined(V8_TARGET_OS_MACOS) \
&& !defined(V8_TARGET_OS_WIN) \
&& !defined(V8_TARGET_OS_CHROMEOS)
-@@ -205,6 +207,8 @@ path. Add it with -I<path> to the command line
+@@ -213,6 +215,8 @@ path. Add it with -I<path> to the command line
|| defined(V8_TARGET_OS_FUCHSIA) \
|| defined(V8_TARGET_OS_IOS) \
|| defined(V8_TARGET_OS_LINUX) \
@@ -18,12 +18,10 @@
|| defined(V8_TARGET_OS_MACOS) \
|| defined(V8_TARGET_OS_WIN) \
|| defined(V8_TARGET_OS_CHROMEOS)
-@@ -226,6 +230,16 @@ path. Add it with -I<path> to the command line
-
- #ifdef V8_OS_LINUX
+@@ -236,6 +240,16 @@ path. Add it with -I<path> to the command line
# define V8_TARGET_OS_LINUX
-+#endif
-+
+ #endif
+
+#ifdef V8_OS_OPENBSD
+# define V8_TARGET_OS_OPENBSD
+# define V8_TARGET_OS_BSD
@@ -32,6 +30,18 @@
+#ifdef V8_OS_FREEBSD
+# define V8_TARGET_OS_OPENBSD
+# define V8_TARGET_OS_BSD
- #endif
-
++#endif
++
#ifdef V8_OS_MACOS
+ # define V8_TARGET_OS_MACOS
+ #endif
+@@ -381,7 +395,8 @@ path. Add it with -I<path> to the command line
+ // preserve_most in clang >= 17 (see https://reviews.llvm.org/D143425).
+ #if (defined(_M_X64) || defined(__x86_64__) /* x64 (everywhere) */ \
+ || ((defined(__AARCH64EL__) || defined(_M_ARM64)) /* arm64, but ... */ \
+- && !defined(_WIN32))) /* not on windows */ \
++ && !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))