[Pkg-javascript-commits] [node-zipfile] 14/34: Patch package.json to fix binding load path
Jérémy Lal
kapouer at moszumanska.debian.org
Wed Dec 21 00:22:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-zipfile.
commit b04015d4aed6c4270583d66e3ffc6f24e9857991
Author: Jérémy Lal <kapouer at melix.org>
Date: Tue Dec 20 16:26:27 2016 +0100
Patch package.json to fix binding load path
---
debian/patches/binding-path.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/binding-path.patch b/debian/patches/binding-path.patch
new file mode 100644
index 0000000..034c584
--- /dev/null
+++ b/debian/patches/binding-path.patch
@@ -0,0 +1,15 @@
+Description: fix patch to load compiled lib
+Forwarded: not-needed
+Last-Update: 2016-12-20
+Author: Jérémy Lal <kapouer at melix.org>
+--- a/package.json
++++ b/package.json
+@@ -35,7 +35,7 @@
+ },
+ "binary": {
+ "module_name" : "zipfile",
+- "module_path" : "./lib/binding/{node_abi}-{platform}-{arch}",
++ "module_path" : "./lib/binding",
+ "host" : "https://mapbox-node-binary.s3.amazonaws.com",
+ "remote_path" : "./{name}/v{version}/{toolset}/",
+ "package_name": "{node_abi}-{platform}-{arch}.tar.gz"
diff --git a/debian/patches/series b/debian/patches/series
index 77c6f14..74208e5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
rename-nodejs.patch
+binding-path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-zipfile.git
More information about the Pkg-javascript-commits
mailing list