[Pkg-javascript-commits] [node-levelup] 03/03: readable stream patch

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Fri Jul 4 19:08:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to branch master
in repository node-levelup.

commit 420a2be9eea95cf8d0a52f1f1114548725659504
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Fri Jul 4 19:07:27 2014 +0000

    readable stream patch
---
 debian/patches/readable_stream.patch | 15 +++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/readable_stream.patch b/debian/patches/readable_stream.patch
new file mode 100644
index 0000000..288be71
--- /dev/null
+++ b/debian/patches/readable_stream.patch
@@ -0,0 +1,15 @@
+Description: readable-stream is only needed for nodejs 0.8 compat
+Forwarded: not-needed
+Last-Update: 2014-07-04
+
+--- node-levelup-0.18.5.orig/lib/read-stream.js
++++ node-levelup-0.18.5/lib/read-stream.js
+@@ -5,7 +5,7 @@
+ 
+ // NOTE: we are fixed to readable-stream at 1.0.x for now
+ // for pure Streams2 across Node versions
+-var Readable      = require('readable-stream').Readable
++var Readable      = require('stream').Readable
+   , inherits      = require('util').inherits
+   , extend        = require('./xtend')
+   , EncodingError = require('./errors').EncodingError
diff --git a/debian/patches/series b/debian/patches/series
index 3359fc0..dfe90e0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 include-xtend.patch
+readable_stream.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-levelup.git



More information about the Pkg-javascript-commits mailing list