[Pkg-javascript-commits] [node-mapnik] 02/06: Add 2001 patch to fix path for require package.json
Jérémy Lal
kapouer at alioth.debian.org
Fri Aug 30 11:18:54 UTC 2013
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-mapnik.
commit 47458598e9cd4b65817a9de1b5e452801da4e9e5
Author: Jérémy Lal <kapouer at melix.org>
Date: Fri Aug 30 12:57:16 2013 +0200
Add 2001 patch to fix path for require package.json
---
debian/patches/2001_require_package.patch | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/debian/patches/2001_require_package.patch b/debian/patches/2001_require_package.patch
new file mode 100644
index 0000000..c5248b7
--- /dev/null
+++ b/debian/patches/2001_require_package.patch
@@ -0,0 +1,15 @@
+Description: fix path for require package.json
+Author: Jérémy Lal <kapouer at melix.org>
+Forwarded: not-needed
+Last-Update: 2013-08-30
+--- a/lib/mapnik.js
++++ b/lib/mapnik.js
+@@ -17,7 +17,7 @@
+ exports = module.exports = mapnik;
+ exports.settings = settings;
+
+-exports.version = require('../package').version;
++exports.version = require('./package').version;
+
+ exports.register_default_fonts = function() {
+ if (settings.paths.fonts) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-mapnik.git
More information about the Pkg-javascript-commits
mailing list