[libterm-readline-zoid-perl] 02/14: Convert dpatch patches to quilt.

gregor herrmann gregoa at debian.org
Sat May 20 10:51:08 UTC 2017


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

gregoa pushed a commit to branch master
in repository libterm-readline-zoid-perl.

commit c10782fea942b131e0c7ccfbdd117aa47483e39c
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat May 20 12:25:19 2017 +0200

    Convert dpatch patches to quilt.
---
 debian/control                                      |  2 +-
 debian/patches/00list                               |  1 -
 .../10_return_feature_hash_instead_of_list.dpatch   | 21 ---------------------
 .../10_return_feature_hash_instead_of_list.patch    | 14 ++++++++++++++
 debian/patches/series                               |  1 +
 5 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/debian/control b/debian/control
index fb2ce2a..40bc8d0 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libterm-readline-zoid-perl
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 10~)
-Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl, libterm-readkey-perl, dpatch
+Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl, libterm-readkey-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Marc 'HE' Brockschmidt <he at debian.org>
 Standards-Version: 3.6.2
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644
index f19ef40..0000000
--- a/debian/patches/00list
+++ /dev/null
@@ -1 +0,0 @@
-10_return_feature_hash_instead_of_list.dpatch
diff --git a/debian/patches/10_return_feature_hash_instead_of_list.dpatch b/debian/patches/10_return_feature_hash_instead_of_list.dpatch
deleted file mode 100644
index cbcfc7b..0000000
--- a/debian/patches/10_return_feature_hash_instead_of_list.dpatch
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 10_return_feature_hash_instead_of_list.dpatch by Roderick Schertler <roderick at ibcinc.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Add a "retur"n to ensure that a hash ref is returned, not a list
-## DP: {} alone is a block, so the return value is a list of values from this block
-
- at DPATCH@
-
-diff -Nwru Term-ReadLine-Zoid-0.07/lib/Term/ReadLine/Zoid.pm Term-ReadLine-Zoid-0.07.new/lib/Term/ReadLine/Zoid.pm
---- Term-ReadLine-Zoid-0.07/lib/Term/ReadLine/Zoid.pm	2005-04-30 19:22:26.000000000 +0200
-+++ Term-ReadLine-Zoid-0.07.new/lib/Term/ReadLine/Zoid.pm	2005-08-07 12:16:34.000000000 +0200
-@@ -202,7 +202,7 @@
- 
- sub Attribs { $_[0]{config} }
- 
--sub Features { {
-+sub Features { return {
- 	( map {($_ => 1)} qw/appname minline attribs 
- 		addhistory addHistory getHistory getHistory TermSize/ ),
- 	( map {($_ => $_[0]{config}{$_})}
diff --git a/debian/patches/10_return_feature_hash_instead_of_list.patch b/debian/patches/10_return_feature_hash_instead_of_list.patch
new file mode 100644
index 0000000..875223c
--- /dev/null
+++ b/debian/patches/10_return_feature_hash_instead_of_list.patch
@@ -0,0 +1,14 @@
+Author: Roderick Schertler <roderick at ibcinc.com>
+Description: Add a "retur"n to ensure that a hash ref is returned, not a list
+{} alone is a block, so the return value is a list of values from this block
+--- a/lib/Term/ReadLine/Zoid.pm
++++ b/lib/Term/ReadLine/Zoid.pm
+@@ -202,7 +202,7 @@
+ 
+ sub Attribs { $_[0]{config} }
+ 
+-sub Features { {
++sub Features { return {
+ 	( map {($_ => 1)} qw/appname minline attribs 
+ 		addhistory addHistory getHistory getHistory TermSize/ ),
+ 	( map {($_ => $_[0]{config}{$_})}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..166dd7f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+10_return_feature_hash_instead_of_list.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-readline-zoid-perl.git



More information about the Pkg-perl-cvs-commits mailing list