[SCM] Debian packaging of libterm-readline-gnu-perl branch, master, updated. bbacf189849c19c00730e062e35eb22a0d257216

gregor herrmann gregoa at debian.org
Fri Oct 7 15:17:43 UTC 2011


The following commit has been merged in the master branch:
commit fa6f465848075fcbb39cde97c802bbcf9a054603
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Oct 7 16:57:57 2011 +0200

    New patch 40terminfo.patch: check for -ltinfo in Makefile.PL.
    
    Closes: #644423
    Thanks: Sven Joachim for the bug report and the proposals for the fix

diff --git a/debian/patches/40terminfo.patch b/debian/patches/40terminfo.patch
new file mode 100644
index 0000000..650112c
--- /dev/null
+++ b/debian/patches/40terminfo.patch
@@ -0,0 +1,24 @@
+Description: check for -ltinfo
+Origin: vendor
+Bug_debian: http://bugs.debian.org/644423
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-10-07
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -61,11 +61,12 @@
+     my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux'
+ 			|| $Config{osname} eq 'cygwin';
+     my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap'))
+-	|| &search_lib('-lncurses')
++	|| &search_lib('-ltinfo')
++	    || &search_lib('-lncurses')
+ 	    || &search_lib('-lcurses');
+ 
+     unless ($TERMCAP_LIB) {
+-	warn "Could not find neither libtermcap.a, libncurses.a, or libcurses.\n";
++	warn "Could not find neither libtinfo, libtermcap.a, libncurses.a, or libcurses.\n";
+ 	exit $err;
+     } 
+  
diff --git a/debian/patches/series b/debian/patches/series
index ca3963a..25f7c87 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 10term.patch
 20new.patch
 30outstream.patch
+40terminfo.patch

-- 
Debian packaging of libterm-readline-gnu-perl



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