[libterm-readline-gnu-perl] 01/04: Add 50dumbterm.patch (closes: #166987)

Florian Schlichting fsfs at moszumanska.debian.org
Fri Nov 24 11:35:32 UTC 2017


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

fsfs pushed a commit to branch master
in repository libterm-readline-gnu-perl.

commit cbc37a27acab4892df04382a77fd354c9b9cea7b
Author: Florian Schlichting <fsfs at debian.org>
Date:   Fri Nov 24 12:01:02 2017 +0100

    Add 50dumbterm.patch (closes: #166987)
---
 debian/patches/50dumbterm.patch | 18 ++++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/50dumbterm.patch b/debian/patches/50dumbterm.patch
new file mode 100644
index 0000000..b347ecb
--- /dev/null
+++ b/debian/patches/50dumbterm.patch
@@ -0,0 +1,18 @@
+Description: Do not use Term::ReadLine::Gnu on dumb terminals or emacs
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=123398
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=166987
+
+--- a/Gnu.pm
++++ b/Gnu.pm
+@@ -80,6 +80,11 @@
+ END
+     }
+ }
++# use Term::ReadLine::Stub on a dumb terminal.
++# https://rt.cpan.org/Ticket/Display.html?id=123398
++BEGIN {
++    croak "dumb terminal." if($ENV{TERM} =~ /^(dumb|emacs|unknown)$/);
++}
+ 
+ {
+     use Exporter ();
diff --git a/debian/patches/series b/debian/patches/series
index c1726b3..bdb2e45 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 10term.patch
 20new.patch
 40terminfo.patch
+50dumbterm.patch

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



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