node/node.patch

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

mercurial