--- scripts/nodejs-patches/002-workaround-node-bug-52229.orig 2024-05-16 08:32:21 UTC +++ scripts/nodejs-patches/002-workaround-node-bug-52229 @@ -2,13 +2,12 @@ diff --git a/common.gypi b/common.gypi index efcd8da84815..fe11453f09b5 100644 --- a/common.gypi +++ b/common.gypi -@@ -268,6 +268,9 @@ +@@ -268,6 +268,8 @@ # Defines these mostly for node-gyp to pickup. 'defines': [ '_GLIBCXX_USE_CXX11_ABI=1', + # Work around https://github.com/nodejs/node/issues/52229 + "NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1", -+ "NAPI_EXPERIMENTAL=1", ], # Forcibly disable -Werror. We support a wide range of compilers, it's