git: da6282a0c2ae - main - editors/vscode: Add one missing patch to fix build error with clang 21

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sun, 21 Jun 2026 19:17:07 UTC
The branch main has been updated by tagattie:

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

commit da6282a0c2ae94052c4f02b1435ac59cc49b7cf3
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-06-21 19:14:39 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-06-21 19:14:39 +0000

    editors/vscode: Add one missing patch to fix build error with clang 21
    
    This should have been included in 3666da5f42ad.
    
    PR:             296164
    Reported by:    Robert Cina <transitive@gmail.com>
    Tested by:      Robert Cina <transitive@gmail.com>
    Fixes:          3666da5f42ad (editors/vscode: Add patches to fix build error of keytar node module with clang 21)
---
 ...e_node__modules_keytar_node__modules_node-addon-api_napi.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/editors/vscode/files/patch-remote_node__modules_keytar_node__modules_node-addon-api_napi.h b/editors/vscode/files/patch-remote_node__modules_keytar_node__modules_node-addon-api_napi.h
new file mode 100644
index 000000000000..4798766df5d2
--- /dev/null
+++ b/editors/vscode/files/patch-remote_node__modules_keytar_node__modules_node-addon-api_napi.h
@@ -0,0 +1,11 @@
+--- remote/node_modules/keytar/node_modules/node-addon-api/napi.h.orig	2026-06-21 01:38:29 UTC
++++ remote/node_modules/keytar/node_modules/node-addon-api/napi.h
+@@ -1144,7 +1144,7 @@ namespace Napi {
+ 
+     TypedArray(napi_env env, napi_value value, napi_typedarray_type type, size_t length);
+ 
+-    static const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
++    static inline const napi_typedarray_type unknown_array_type = static_cast<napi_typedarray_type>(-1);
+ 
+     template <typename T>
+     static