[Pkg-javascript-commits] [node-iconv] 04/05: Load installed iconv.node, try build path - useful for tests
Jérémy Lal
kapouer at moszumanska.debian.org
Sun Jun 15 00:23:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-iconv.
commit f76af8debc54e90c0e52a16c06a4dbb32ecb9a90
Author: Jérémy Lal <kapouer at melix.org>
Date: Sun Jun 15 02:20:27 2014 +0200
Load installed iconv.node, try build path - useful for tests
---
debian/patches/path-to-binary-iconv.patch | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/patches/path-to-binary-iconv.patch b/debian/patches/path-to-binary-iconv.patch
index bb9e013..c50ac8b 100644
--- a/debian/patches/path-to-binary-iconv.patch
+++ b/debian/patches/path-to-binary-iconv.patch
@@ -3,7 +3,7 @@ Forwarded: not-needed
Author: Matthew Pideil <matthewp_debian at teledetection.fr>
--- a/lib/iconv.js
+++ b/lib/iconv.js
-@@ -21,7 +21,7 @@
+@@ -21,10 +21,10 @@
var bindings;
try {
@@ -11,4 +11,8 @@ Author: Matthew Pideil <matthewp_debian at teledetection.fr>
+ bindings = require('./iconv.node');
}
catch (e) {
- bindings = require('../build/Debug/iconv.node');
+- bindings = require('../build/Debug/iconv.node');
++ bindings = require('../build/Release/iconv.node');
+ }
+
+ var E2BIG = bindings.E2BIG | 0;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-iconv.git
More information about the Pkg-javascript-commits
mailing list