[BACK]Return to patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / nodejs8 / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / nodejs8 / patches / Attic / patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py (download)

Revision 1.1, Wed Nov 1 12:07:31 2017 UTC (6 years, 5 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4

Import nodejs-8.9.0 (LTS) as lang/nodejs8.

Changes since nodejs 8.8.1:

- doc: add Gibson Fahnestock to Release team
- deps: update npm to 5.5.1
- http2: The exposed http2 socket is no longer manipulatable
- module: support custom paths to require.resolve()
- util: util.TextEncoder and util.TextDecoder are no longer experimental.
  There will no longer be a warning when they are used

$NetBSD: patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py,v 1.1 2017/11/01 12:07:31 fhajny Exp $

Do not generate debugging symbols (uses lots of disk space).

--- deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py.orig	2017-05-30 13:51:50.000000000 +0000
+++ deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
@@ -500,7 +500,7 @@ class XcodeSettings(object):
 
     self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s')
 
-    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'):
+    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='NO'):
       dbg_format = self._Settings().get('DEBUG_INFORMATION_FORMAT', 'dwarf')
       if dbg_format == 'dwarf':
         cflags.append('-gdwarf-2')