ports/www/node18/files/patch-node.gypi
Muhammad Moinur Rahman b29e56a84d www/node18: 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:08 +02:00

12 lines
402 B
Python

--- node.gypi.orig 2023-04-12 04:09:19 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': [