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.
45 lines
1.3 KiB
45 lines
1.3 KiB
Index: node_modules/nodegit/binding.gyp |
|
--- node_modules/nodegit/binding.gyp.orig 2016-04-08 01:46:40.000000000 +0200 |
|
+++ node_modules/nodegit/binding.gyp 2016-04-22 20:30:33.035945134 +0200 |
|
@@ -151,12 +151,13 @@ |
|
"include_dirs": [ |
|
"vendor/libv8-convert", |
|
"vendor/libssh2/include", |
|
+ "vendor/libssh2/src", |
|
"vendor/openssl/openssl/include", |
|
"<!(node -e \"require('nan')\")" |
|
], |
|
|
|
"cflags": [ |
|
- "-Wall" |
|
+ "-Wno-unused-function" |
|
], |
|
|
|
"conditions": [ |
|
Index: node_modules/nodegit/lifecycleScripts/prepareForBuild.js |
|
--- node_modules/nodegit/lifecycleScripts/prepareForBuild.js.orig 2016-01-15 21:08:31.000000000 +0100 |
|
+++ node_modules/nodegit/lifecycleScripts/prepareForBuild.js 2016-04-22 20:31:37.915039753 +0200 |
|
@@ -8,23 +8,10 @@ |
|
|
|
module.exports = function prepareForBuild() { |
|
|
|
- return new Promise(function(resolve, reject) { |
|
- cp.exec("npm install --ignore-scripts", function(err, stdout, stderr) { |
|
- if (err) { |
|
- console.error(stderr); |
|
- reject(err, stderr); |
|
- } |
|
- else { |
|
- resolve(); |
|
- console.info(stdout); |
|
- } |
|
- }); |
|
- }).then(function() { |
|
return Promise.all([ |
|
configure(), |
|
generate() |
|
]); |
|
- }); |
|
}; |
|
|
|
// Called on the command line
|
|
|