[Pkg-javascript-commits] [node-crc32-stream] 04/07: readable-stream patch

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sat Jun 28 22:22:59 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-crc32-stream.

commit 79313f7da0b0644a39e0a5ab07f0c0429a01c3ba
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Sat Jun 28 22:11:53 2014 +0000

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

diff --git a/debian/patches/readable_stream.patch b/debian/patches/readable_stream.patch
new file mode 100644
index 0000000..54ea56e
--- /dev/null
+++ b/debian/patches/readable_stream.patch
@@ -0,0 +1,22 @@
+Description: readable-stream is only needed for nodejs 0.8 compat
+Author: Andrew Kelley <superjoe30 at gmail.com>
+Forwarded: not-needed
+Last-Update: 2014-06-28
+--- node-crc32-stream-0.2.0.orig/lib/crc32-stream.js
++++ node-crc32-stream-0.2.0/lib/crc32-stream.js
+@@ -6,7 +6,7 @@
+  * https://github.com/ctalkington/node-crc32-stream/blob/master/LICENSE-MIT
+  */
+ var inherits = require('util').inherits;
+-var Transform = require('readable-stream').Transform;
++var Transform = require('stream').Transform;
+ 
+ var crc32 = require('buffer-crc32');
+ 
+@@ -41,4 +41,4 @@ CRC32Stream.prototype.size = function()
+   return this.rawSize;
+ };
+ 
+-module.exports = CRC32Stream;
+\ No newline at end of file
++module.exports = CRC32Stream;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d7678e3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+readable_stream.patch

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



More information about the Pkg-javascript-commits mailing list