[Pkg-javascript-commits] [SCM] bindings to the Mapnik tile rendering library for NodeJS branch, master, updated. debian/0.6.7-1-2-g67bd9a5
David Paleino
dapal at debian.org
Wed Apr 11 22:57:38 UTC 2012
The following commit has been merged in the master branch:
commit 08e6a33e50a22bcdb6a9dafe3c6f70dff6596d95
Author: David Paleino <dapal at debian.org>
Date: Thu Apr 12 00:49:38 2012 +0200
Fixed code that required package.json
diff --git a/debian/changelog b/debian/changelog
index 3043118..ec8015c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-mapnik (0.6.7-2) UNRELEASED; urgency=low
+
+ * Fixed code that required package.json
+
+ -- David Paleino <dapal at debian.org> Thu, 12 Apr 2012 00:49:26 +0200
+
node-mapnik (0.6.7-1) unstable; urgency=low
* New upstream version
diff --git a/debian/patches/02-fix_code.patch b/debian/patches/02-fix_code.patch
new file mode 100644
index 0000000..f1f9869
--- /dev/null
+++ b/debian/patches/02-fix_code.patch
@@ -0,0 +1,20 @@
+From: David Paleino <dapal at debian.org>
+Subject: fix code that looks to the current version
+Origin: vendor
+Forwarded: not-needed
+
+---
+ lib/mapnik.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- node-mapnik.orig/lib/mapnik.js
++++ node-mapnik/lib/mapnik.js
+@@ -5,7 +5,7 @@ var path = require('path'),
+ exports = module.exports = mapnik;
+ exports.settings = _settings;
+
+-exports.version = require('../package').version;
++exports.version = '0.6.7';
+
+ if (_settings.paths.fonts) {
+ // TODO - make async and warn if not successful
diff --git a/debian/patches/series b/debian/patches/series
index 9303b02..43bbee0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01-port_to_mapnik_2.0.x.patch
+02-fix_code.patch
--
bindings to the Mapnik tile rendering library for NodeJS
More information about the Pkg-javascript-commits
mailing list