summaryrefslogtreecommitdiff
path: root/lang/nodejs/patches
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-10-13 14:09:11 +0000
committerfhajny <fhajny@pkgsrc.org>2016-10-13 14:09:11 +0000
commit7393af7984077a4f18831942bf826edb0fe0aca5 (patch)
tree64a660b26123613b38c1375f273303dc7f42d375 /lang/nodejs/patches
parent9c5c3bf0196c22e8587e028ac8ca0f297b0671e3 (diff)
downloadpkgsrc-7393af7984077a4f18831942bf826edb0fe0aca5.tar.gz
Update lang/nodejs to 6.8.0.
Notable changes - fs: - SyncWriteStream now inherits from Stream.Writable. - fs.existsSync() has been undeprecated. fs.exists() remains deprecated. - http: http.request() now accepts a timeout option. - module: The module loader now maintains its own realpath cache. - npm: Upgraded to 3.10.8 - stream: Duplex streams now show proper instanceof Stream.Writable. - timers: Improved setTimeout/Interval performance by up to 22%.
Diffstat (limited to 'lang/nodejs/patches')
-rw-r--r--lang/nodejs/patches/patch-node.gyp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/nodejs/patches/patch-node.gyp b/lang/nodejs/patches/patch-node.gyp
new file mode 100644
index 00000000000..eed467b82d4
--- /dev/null
+++ b/lang/nodejs/patches/patch-node.gyp
@@ -0,0 +1,16 @@
+$NetBSD: patch-node.gyp,v 1.1 2016/10/13 14:09:12 fhajny Exp $
+
+Backport system zlib fix from upstream master.
+https://github.com/nodejs/node/pull/9077
+
+--- node.gyp.orig 2016-10-12 19:04:28.000000000 +0000
++++ node.gyp
+@@ -477,6 +477,8 @@
+ }],
+ [ 'node_shared_zlib=="false"', {
+ 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ],
++ }, {
++ 'defines': [ 'ZLIB_CONST' ],
+ }],
+
+ [ 'node_shared_http_parser=="false"', {