From 045472528cfd340f20e8ea6b973eaaaf9b2dc40d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 9 Jun 2018 17:11:06 -0700 Subject: deps,npm: float node-gyp patch on npm This small change makes addon test build successfully with LLVM 10.0.0 and above. This will be fixed in npm source when node-gyp is updated to 3.6.3 or above. PR-URL: https://github.com/nodejs/node/pull/21239 Reviewed-By: Anna Henningsen Reviewed-By: Minwoo Jung Reviewed-By: Colin Ihrig Reviewed-By: Joyee Cheung --- deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py index b06bdc4e8b..da29ebdf1a 100644 --- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py @@ -1262,7 +1262,7 @@ def XcodeVersion(): except: version = CLTVersion() if version: - version = re.match(r'(\d\.\d\.?\d*)', version).groups()[0] + version = re.match(r'(\d+\.\d+\.?\d*)', version).groups()[0] else: raise GypError("No Xcode or CLT version detected!") # The CLT has no build information, so we return an empty string. -- cgit v1.2.3