[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#203389: patch



tags #203389 patch
thanks

I have actually a patch for this but I'm not so confident that he is
good. Perhaps someone can check it?

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/
--- lintian-1.22.9/checks/manpages	2003-01-11 14:48:47.000000000 +0100
+++ lintian-1.22.9+djpig.20040105/checks/manpages	2004-01-05 02:50:51.000000000 +0100
@@ -29,6 +29,7 @@
 
 my %file_info;
 my %binary;
+my %link;
 my %manpage;
 
 # Read file info...
@@ -75,6 +76,7 @@
 	my $bin = $fname;
 	
 	$binary{$bin} = $file;
+	$link{$bin} = $link || "";
 	
     	next;
     }
@@ -206,7 +208,8 @@
 for my $f (sort keys %binary) {
     if (exists $manpage{$f}) {
 	# X11 binary?
-	if ($binary{$f} =~ m/X11/) {
+	if ($binary{$f} =~ m/X11/
+	    || $link{$f} =~ m/X11/) {
 	    # yes. manpage in X11 too?
 	    if ($manpage{$f} =~ m/X11/) {
 		# ok.

Reply to: