summaryrefslogtreecommitdiff
path: root/www/node20/files/patch-node.gypi
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-19 05:35:24 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-19 05:36:11 +0800
commitbe89471e0312169a11b2e9b619e720cb044292e7 (patch)
treeeaaf6a7e487cc6b788d863862c9d070b7bc64854 /www/node20/files/patch-node.gypi
parentnet/gupnp-igd12: Add gupnp-igd12 1.2.0 (copied from gupnp-igd) (diff)
www/node20: Add node20 20.0.0
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
Diffstat (limited to 'www/node20/files/patch-node.gypi')
-rw-r--r--www/node20/files/patch-node.gypi12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/node20/files/patch-node.gypi b/www/node20/files/patch-node.gypi
new file mode 100644
index 000000000000..f48b5b1091cb
--- /dev/null
+++ b/www/node20/files/patch-node.gypi
@@ -0,0 +1,12 @@
+--- node.gypi.orig 2021-10-19 00:48:32 UTC
++++ node.gypi
+@@ -319,6 +319,9 @@
+ [ 'node_use_openssl=="true"', {
+ 'defines': [ 'HAVE_OPENSSL=1' ],
+ 'conditions': [
++ ['openssl_no_asm==1', {
++ 'defines': [ 'OPENSSL_NO_ASM' ],
++ }],
+ [ 'node_shared_openssl=="false"', {
+ 'defines': [ 'OPENSSL_API_COMPAT=0x10100000L', ],
+ 'dependencies': [