[Pkg-javascript-commits] [node-multiparty] 07/08: patch to require findit instead of findit2
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Fri Oct 17 05:45:03 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-multiparty.
commit 19b488ca2861c4c018a27855db9b3d887faf3aaf
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Fri Oct 17 05:43:09 2014 +0000
patch to require findit instead of findit2
---
debian/patches/findit2-alias.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/findit2-alias.patch b/debian/patches/findit2-alias.patch
new file mode 100644
index 0000000..da7d293
--- /dev/null
+++ b/debian/patches/findit2-alias.patch
@@ -0,0 +1,16 @@
+Description: use findit instead of findit2
+ In Debian, node-findit is the same as findit2 on NPM. This means upstream
+ sources can be safely patched to require('findit') instead of
+ require('findit2').
+Author: Andrew Kelley <superjoe30 at gmail.com>
+Forwarded: not-needed
+--- node-multiparty-4.0.0.orig/test/test.js
++++ node-multiparty-4.0.0/test/test.js
+@@ -1,6 +1,6 @@
+ var spawn = require('child_process').spawn;
+ var crypto = require('crypto');
+-var findit = require('findit2');
++var findit = require('findit');
+ var path = require('path');
+ var Pend = require('pend');
+ var rimraf = require('rimraf');
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a09884c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+findit2-alias.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-multiparty.git
More information about the Pkg-javascript-commits
mailing list