[Pkg-javascript-commits] [SCM] turn an object into a persistent execution context branch, master, updated. debian/0.0.7-1-10-gbe1bd1f

David Paleino dapal at debian.org
Sat Apr 14 21:48:39 UTC 2012


The following commit has been merged in the master branch:
commit a5ecc4db6609624943b008f51e64bb694becc420
Author: David Paleino <dapal at debian.org>
Date:   Sat Apr 14 23:43:09 2012 +0200

    Refreshed patch to fix requirement on node-bindings

diff --git a/debian/changelog b/debian/changelog
index 74a40dc..4945429 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,11 @@
 node-contextify (0.1.2-1) UNRELEASED; urgency=low
 
-  TODO: package missing dependency: node-bindings
-
   * New upstream version
   * Standards-Version bump to 3.9.3, no changes needed
   * Update debian/copyright
+  * Refreshed patch to fix requirement on node-bindings
 
- -- David Paleino <dapal at debian.org>  Thu, 22 Mar 2012 21:12:16 +0100
+ -- David Paleino <dapal at debian.org>  Sat, 14 Apr 2012 23:42:55 +0200
 
 node-contextify (0.0.7-1) unstable; urgency=low
 
diff --git a/debian/patches/00-fix_path.patch b/debian/patches/00-fix_path.patch
deleted file mode 100644
index 2307792..0000000
--- a/debian/patches/00-fix_path.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From: David Paleino <dapal at debian.org>
-Subject: fix path of compiled module
-Origin: vendor
-Forwarded: no
-
----
- lib/contextify.js |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- node-contextify.orig/lib/contextify.js
-+++ node-contextify/lib/contextify.js
-@@ -1,5 +1,5 @@
- try {
--    module.exports = require('../build/Release/contextify').wrap;
-+    module.exports = require('./contextify').wrap;
- } catch (e) {
-     console.log("Internal Contextify ERROR: Make sure Contextify is built " +
-                 "with your current Node version.\nTo rebuild, go to the " +
diff --git a/debian/patches/00-fix_require.patch b/debian/patches/00-fix_require.patch
new file mode 100644
index 0000000..968462b
--- /dev/null
+++ b/debian/patches/00-fix_require.patch
@@ -0,0 +1,17 @@
+From: David Paleino <dapal at debian.org>
+Subject: fix requirement of compiled module
+Origin: vendor
+Forwarded: no
+
+---
+ lib/contextify.js |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- node-contextify.orig/lib/contextify.js
++++ node-contextify/lib/contextify.js
+@@ -1,4 +1,4 @@
+-var ContextifyContext = require('bindings')('contextify').ContextifyContext;
++var ContextifyContext = require('contextify').ContextifyContext;
+ 
+ module.exports = function Contextify (sandbox) {
+     if (typeof sandbox != 'object') {
diff --git a/debian/patches/series b/debian/patches/series
index 37b8b45..8e4fa17 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-00-fix_path.patch
+00-fix_require.patch

-- 
turn an object into a persistent execution context



More information about the Pkg-javascript-commits mailing list