node/node.patch

changeset 741
c6ce86a2b636
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/node/node.patch	Mon Oct 15 21:20:29 2012 +0200
     1.3 @@ -0,0 +1,51 @@
     1.4 +Index: common.gypi
     1.5 +--- common.gypi.orig	2012-07-19 19:01:56.000000000 +0200
     1.6 ++++ common.gypi	2012-07-22 14:02:09.000000000 +0200
     1.7 +@@ -153,7 +153,7 @@
     1.8 +         ],
     1.9 +       }],
    1.10 +       [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
    1.11 +-        'cflags': [ '-Wall', '-pthread', ],
    1.12 ++        'cflags': [ '-pthread', ],
    1.13 +         'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
    1.14 +         'ldflags': [ '-pthread', '-rdynamic' ],
    1.15 +         'conditions': [
    1.16 +Index: configure
    1.17 +--- configure.orig	2012-07-19 19:01:56.000000000 +0200
    1.18 ++++ configure	2012-07-22 14:02:09.000000000 +0200
    1.19 +@@ -332,9 +332,9 @@
    1.20 +   if options.shared_v8_libpath:
    1.21 +     o['libraries'] += ['-L%s' % options.shared_v8_libpath]
    1.22 +   if options.shared_v8_libname:
    1.23 +-    o['libraries'] += ['-l%s' % options.shared_v8_libname]
    1.24 ++    o['libraries'] += ['-l%s -lexecinfo' % options.shared_v8_libname]
    1.25 +   elif options.shared_v8:
    1.26 +-    o['libraries'] += ['-lv8']
    1.27 ++    o['libraries'] += ['-lv8 -lexecinfo']
    1.28 +   if options.shared_v8_includes:
    1.29 +     o['include_dirs'] += [options.shared_v8_includes]
    1.30 + 
    1.31 +Index: deps/npm/lib/build.js
    1.32 +--- deps/npm/lib/build.js.orig	2012-07-19 19:01:56.000000000 +0200
    1.33 ++++ deps/npm/lib/build.js	2012-07-22 14:02:09.000000000 +0200
    1.34 +@@ -166,7 +166,7 @@
    1.35 + 
    1.36 + function linkMans (pkg, folder, parent, gtop, cb) {
    1.37 +   if (!pkg.man || !gtop || process.platform === "win32") return cb()
    1.38 +-  var manRoot = path.resolve(npm.config.get("prefix"), "share", "man")
    1.39 ++  var manRoot = path.resolve(npm.config.get("prefix"), "man")
    1.40 +   asyncMap(pkg.man, function (man, cb) {
    1.41 +     if (typeof man !== "string") return cb()
    1.42 +     var parseMan = man.match(/(.*)\.([0-9]+)(\.gz)?$/)
    1.43 +Index: tools/install.py
    1.44 +--- tools/install.py.orig	2012-09-11 20:08:07.000000000 +0200
    1.45 ++++ tools/install.py	2012-09-15 12:03:31.000000000 +0200
    1.46 +@@ -191,7 +191,7 @@
    1.47 +           'deps/uv/include/uv-private/uv-unix.h',
    1.48 +           'deps/uv/include/uv-private/uv-win.h'],
    1.49 +           'include/node/uv-private/')
    1.50 +-  action(['doc/node.1'], 'share/man/man1/')
    1.51 ++  action(['doc/node.1'], 'man/man1/')
    1.52 +   action(['out/Release/node'], 'bin/node')
    1.53 + 
    1.54 +   # install unconditionally, checking if the platform supports dtrace doesn't

mercurial