node: update to v12.18.4
[feed/packages.git] / lang / node / patches / 999-v8_this_build_method_will_be_deprecated.patch
index 828f89b6078995164171059238b8284fdae097f9..c00891fbc1828f768f07c72c8c3160c838be9fbf 100644 (file)
@@ -1,7 +1,7 @@
 diff -urN a/configure.py b/configure.py
 --- a/configure.py     2019-09-05 00:36:21.000000000 +0900
 +++ b/configure.py     2019-09-27 11:49:55.445800884 +0900
-@@ -1276,6 +1276,23 @@
+@@ -1276,6 +1276,15 @@
      options.build_v8_with_gn = FetchDeps(v8_path)
    o['variables']['build_v8_with_gn'] = b(options.build_v8_with_gn)
  
@@ -14,14 +14,6 @@ diff -urN a/configure.py b/configure.py
 +
 +  if target_arch in ('mips', 'mips64'):
 +    o['variables']['v8_use_snapshot'] = 'false'
-+  elif target_arch in ('mipsel', 'mips64el'):
-+    o['variables']['v8_enable_embedded_builtins'] = 0
-+  elif target_arch == 'x64':
-+    if options.with_intl not in (None, 'none'):
-+      o['variables']['v8_enable_embedded_builtins'] = 0
-+  elif target_arch == 'ia32':
-+    if options.with_intl in (None, 'none'):
-+      o['variables']['v8_use_snapshot'] = 'false'
  
  def configure_openssl(o):
    variables = o['variables']