You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
2.0 KiB

Index: common.gypi
--- common.gypi.orig 2012-07-08 00:15:17.000000000 +0200
+++ common.gypi 2012-07-11 10:05:36.000000000 +0200
@@ -137,7 +137,7 @@
],
}],
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
- 'cflags': [ '-Wall', '-pthread', ],
+ 'cflags': [ '-pthread', ],
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
'ldflags': [ '-pthread', ],
'conditions': [
Index: configure
--- configure.orig 2012-07-08 00:15:17.000000000 +0200
+++ configure 2012-07-11 10:07:17.000000000 +0200
@@ -291,7 +291,7 @@
# turn off strict aliasing if gcc < 4.6.0 unless it's llvm-gcc
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
# see http://code.google.com/p/v8/issues/detail?id=884
- no_strict_aliasing = int(not(is_clang or cc_version >= (4,6,0)))
+ no_strict_aliasing = b(False)
o['variables']['v8_no_strict_aliasing'] = no_strict_aliasing
o['variables']['node_no_strict_aliasing'] = no_strict_aliasing
@@ -345,9 +345,9 @@
if options.shared_v8_libpath:
o['libraries'] += ['-L%s' % options.shared_v8_libpath]
if options.shared_v8_libname:
- o['libraries'] += ['-l%s' % options.shared_v8_libname]
+ o['libraries'] += ['-l%s -lexecinfo' % options.shared_v8_libname]
elif options.shared_v8:
- o['libraries'] += ['-lv8']
+ o['libraries'] += ['-lv8 -lexecinfo']
if options.shared_v8_includes:
o['include_dirs'] += [options.shared_v8_includes]
Index: deps/npm/lib/build.js
--- deps/npm/lib/build.js.orig 2012-07-08 00:15:17.000000000 +0200
+++ deps/npm/lib/build.js 2012-07-11 10:05:36.000000000 +0200
@@ -166,7 +166,7 @@
function linkMans (pkg, folder, parent, gtop, cb) {
if (!pkg.man || !gtop || process.platform === "win32") return cb()
- var manRoot = path.resolve(npm.config.get("prefix"), "share", "man")
+ var manRoot = path.resolve(npm.config.get("prefix"), "man")
asyncMap(pkg.man, function (man, cb) {
if (typeof man !== "string") return cb()
var parseMan = man.match(/(.*)\.([0-9]+)(\.gz)?$/)