SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
38
lang/node/patches/patch-deps_v8_include_v8config_h
Normal file
38
lang/node/patches/patch-deps_v8_include_v8config_h
Normal file
|
@ -0,0 +1,38 @@
|
|||
Index: deps/v8/include/v8config.h
|
||||
--- deps/v8/include/v8config.h.orig
|
||||
+++ deps/v8/include/v8config.h
|
||||
@@ -183,6 +183,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) \
|
||||
+ && !defined(V8_TARGET_OS_OPENBSD) \
|
||||
+ && !defined(V8_TARGET_OS_FREEBSD) \
|
||||
&& !defined(V8_TARGET_OS_MACOS) \
|
||||
&& !defined(V8_TARGET_OS_WIN)
|
||||
# error No known target OS defined.
|
||||
@@ -194,6 +196,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) \
|
||||
+ || defined(V8_TARGET_OS_OPENBSD) \
|
||||
+ || defined(V8_TARGET_OS_FREEBSD) \
|
||||
|| defined(V8_TARGET_OS_MACOS) \
|
||||
|| defined(V8_TARGET_OS_WIN)
|
||||
# error A target OS is defined but V8_HAVE_TARGET_OS is unset.
|
||||
@@ -214,6 +218,16 @@ path. Add it with -I<path> to the command line
|
||||
|
||||
#ifdef V8_OS_LINUX
|
||||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue