ports/www/node20/files/patch-node.gypi
Muhammad Moinur Rahman 6370a26a67 www/node20: Fix build with OpenSSL 3
- This was tested only with OpenSSL 3 from base but not with
  openssl30 or openssl31 ports
- Refresh patches

PR:             271868
Reported by:    emaste
Approved by:    portmgr (blanket)
2023-06-07 09:25:09 +02:00

12 lines
402 B
Python

--- node.gypi.orig 2023-05-16 06:58:21 UTC
+++ node.gypi
@@ -349,6 +349,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': [