Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2024 09:23:44 GMT
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 0872856aa5c8 - 2024Q2 - editors/vscode: fix build with node 18.20.0 or later
Message-ID:  <202405310923.44V9NiWs037705@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0872856aa5c8f91039122351a478b568818651ff

commit 0872856aa5c8f91039122351a478b568818651ff
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-05-31 09:14:15 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-05-31 09:23:02 +0000

    editors/vscode: fix build with node 18.20.0 or later
    
    www/node18 on 2024Q2 branch has been updated to 18.20.2 and it causes
    an error while building the kerberos node module.
    
    This is a direct commit to 2024Q2 to fix the build error.
    
    PR:             279315
    Reported by:    bas@area536.com
    Tested by:      bas@area536.com
---
 .../patch-remote_node__modules_kerberos_src_kerberos.h         | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos.h b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos.h
new file mode 100644
index 000000000000..2e5f9846f935
--- /dev/null
+++ b/editors/vscode/files/node_modules/patch-remote_node__modules_kerberos_src_kerberos.h
@@ -0,0 +1,10 @@
+--- remote/node_modules/kerberos/src/kerberos.h.orig	2024-04-17 09:20:40 UTC
++++ remote/node_modules/kerberos/src/kerberos.h
+@@ -7,6 +7,7 @@
+ #define NAPI_VERSION 6
+ // as an experimental feature (that has not been changed since then).
+ #define NAPI_EXPERIMENTAL
++#define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
+ 
+ #include <napi.h>
+ #include "kerberos_common.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405310923.44V9NiWs037705>