node/node.patch

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

michael@741 1 Index: common.gypi
michael@741 2 --- common.gypi.orig 2012-07-19 19:01:56.000000000 +0200
michael@741 3 +++ common.gypi 2012-07-22 14:02:09.000000000 +0200
michael@741 4 @@ -153,7 +153,7 @@
michael@741 5 ],
michael@741 6 }],
michael@741 7 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
michael@741 8 - 'cflags': [ '-Wall', '-pthread', ],
michael@741 9 + 'cflags': [ '-pthread', ],
michael@741 10 'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
michael@741 11 'ldflags': [ '-pthread', '-rdynamic' ],
michael@741 12 'conditions': [
michael@741 13 Index: configure
michael@741 14 --- configure.orig 2012-07-19 19:01:56.000000000 +0200
michael@741 15 +++ configure 2012-07-22 14:02:09.000000000 +0200
michael@741 16 @@ -332,9 +332,9 @@
michael@741 17 if options.shared_v8_libpath:
michael@741 18 o['libraries'] += ['-L%s' % options.shared_v8_libpath]
michael@741 19 if options.shared_v8_libname:
michael@741 20 - o['libraries'] += ['-l%s' % options.shared_v8_libname]
michael@741 21 + o['libraries'] += ['-l%s -lexecinfo' % options.shared_v8_libname]
michael@741 22 elif options.shared_v8:
michael@741 23 - o['libraries'] += ['-lv8']
michael@741 24 + o['libraries'] += ['-lv8 -lexecinfo']
michael@741 25 if options.shared_v8_includes:
michael@741 26 o['include_dirs'] += [options.shared_v8_includes]
michael@741 27
michael@741 28 Index: deps/npm/lib/build.js
michael@741 29 --- deps/npm/lib/build.js.orig 2012-07-19 19:01:56.000000000 +0200
michael@741 30 +++ deps/npm/lib/build.js 2012-07-22 14:02:09.000000000 +0200
michael@741 31 @@ -166,7 +166,7 @@
michael@741 32
michael@741 33 function linkMans (pkg, folder, parent, gtop, cb) {
michael@741 34 if (!pkg.man || !gtop || process.platform === "win32") return cb()
michael@741 35 - var manRoot = path.resolve(npm.config.get("prefix"), "share", "man")
michael@741 36 + var manRoot = path.resolve(npm.config.get("prefix"), "man")
michael@741 37 asyncMap(pkg.man, function (man, cb) {
michael@741 38 if (typeof man !== "string") return cb()
michael@741 39 var parseMan = man.match(/(.*)\.([0-9]+)(\.gz)?$/)
michael@741 40 Index: tools/install.py
michael@741 41 --- tools/install.py.orig 2012-09-11 20:08:07.000000000 +0200
michael@741 42 +++ tools/install.py 2012-09-15 12:03:31.000000000 +0200
michael@741 43 @@ -191,7 +191,7 @@
michael@741 44 'deps/uv/include/uv-private/uv-unix.h',
michael@741 45 'deps/uv/include/uv-private/uv-win.h'],
michael@741 46 'include/node/uv-private/')
michael@741 47 - action(['doc/node.1'], 'share/man/man1/')
michael@741 48 + action(['doc/node.1'], 'man/man1/')
michael@741 49 action(['out/Release/node'], 'bin/node')
michael@741 50
michael@741 51 # install unconditionally, checking if the platform supports dtrace doesn't

mercurial