[libterm-prompt-perl] 01/06: Add patch to correctly wrap prompts.
gregor herrmann
gregoa at debian.org
Fri May 1 16:32:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libterm-prompt-perl.
commit de5b719806eac184377225617ce592eefa238767
Author: gregor herrmann <gregoa at debian.org>
Date: Fri May 1 18:25:59 2015 +0200
Add patch to correctly wrap prompts.
Thanks: William Schaub for the bug report.
LP: #1427464
---
debian/patches/series | 1 +
debian/patches/text-wrap.patch | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ad80569
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+text-wrap.patch
diff --git a/debian/patches/text-wrap.patch b/debian/patches/text-wrap.patch
new file mode 100644
index 0000000..189931b
--- /dev/null
+++ b/debian/patches/text-wrap.patch
@@ -0,0 +1,19 @@
+Description: fix typo in Text::Wrap usage
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=102472
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=102472
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1427464
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-05-01
+
+--- a/lib/Term/Prompt.pm
++++ b/lib/Term/Prompt.pm
+@@ -508,7 +508,7 @@
+ my $width = get_width();
+
+ if (defined($width) && $width) {
+- $Text::Wrap::Columns = $width;
++ $Text::Wrap::columns = $width;
+ }
+
+ if ($message =~ m/\n\Z/) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-prompt-perl.git
More information about the Pkg-perl-cvs-commits
mailing list