[Pkg-javascript-commits] [node-expat] 280/371: Add patch 2001 to use nodejs (not node) when resolving nan.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit d41be7d97f5023f9dc9cf1864689df0a8212c435
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Sep 8 21:27:08 2014 +0200

    Add patch 2001 to use nodejs (not node) when resolving nan.
---
 debian/patches/2001_nodejs_not_node.patch | 11 +++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/2001_nodejs_not_node.patch b/debian/patches/2001_nodejs_not_node.patch
new file mode 100644
index 0000000..5e4b466
--- /dev/null
+++ b/debian/patches/2001_nodejs_not_node.patch
@@ -0,0 +1,11 @@
+--- a/binding.gyp
++++ b/binding.gyp
+@@ -4,7 +4,7 @@
+       'target_name': 'node_expat',
+       'sources': [ 'node-expat.cc' ],
+       'include_dirs': [
+-        '<!(node -e "require(\'nan\')")'
++        '<!(nodejs -e "require(\'nan\')")'
+       ],
+       'dependencies': [
+         'deps/libexpat/libexpat.gyp:expat'
diff --git a/debian/patches/series b/debian/patches/series
index e3c3987..72addf2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 1001_relax_test_timing_tolerance.patch
+2001_nodejs_not_node.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list