[SCM] Debian packaging of libdebug-client-perl branch, master, updated. debian/0.26-1-2-g369b605

Dominique Dumont dod at debian.org
Sat Jul 20 08:48:11 UTC 2013


The following commit has been merged in the master branch:
commit e7e58abfcf2f1f4917d508044050d5c678ba3311
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Jul 20 10:38:54 2013 +0200

    Added patch to fix Term::ReadLine load (Closes: #713433)

diff --git a/debian/patches/fix-term-readline-load b/debian/patches/fix-term-readline-load
new file mode 100644
index 0000000..b743a2a
--- /dev/null
+++ b/debian/patches/fix-term-readline-load
@@ -0,0 +1,29 @@
+Description: Fix term readline load
+ Original upstream code leads to Padre FTBS. Upstream was tweaked to
+ work on Windows, but this leads to build failure. 
+ .
+ After some discussion with bowtie (upstream author), we decided to
+ patch Debian package to revert the modifications done for Windows.
+Bug-Debian: 713433
+Author: Dod
+--- a/lib/Debug/Client.pm
++++ b/lib/Debug/Client.pm
+@@ -12,16 +12,8 @@
+ 
+ our $VERSION = '0.26';
+ 
+-BEGIN {
+-	use Term::ReadLine;
+-	$ENV{TERM} = 'dumb' if !exists $ENV{TERM};
+-
+-	eval { my $term = Term::ReadLine->new('none') };
+-	if ($EVAL_ERROR) {
+-		local $ENV{PERL_RL} = ' ornaments=0';
+-	}
+-}
+-
++use Term::ReadLine;
++ 
+ use utf8;
+ use IO::Socket::IP 0.21;
+ use Carp qw(carp croak);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4543870
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-term-readline-load

-- 
Debian packaging of libdebug-client-perl



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