Package: lintian
Version: 1.23.14
Severity: normal
Tags: patch

Hello,

On http://lintian.debian.org/reports/Tmanpage-has-errors-from-man.html,
10% of the warnings are "cannot adjust line" or "can't break line" on
Japanese pages.
Most of them are false positives and man do not warn on a ja_JP locale.

The attached patch hides these two warnings on Japanese pages.

Kind Regards,
-- 
Nekral
diff -rauN ../orig/lintian-1.23.15/checks/manpages 
./lintian-1.23.15/checks/manpages
--- ../orig/lintian-1.23.15/checks/manpages     2006-01-16 09:15:07.000000000 
+0100
+++ ./lintian-1.23.15/checks/manpages   2006-01-25 10:46:55.000000000 +0100
@@ -250,6 +250,8 @@
            next if /^(man|gzip)/;
            # ignore 8bit character errors on localized man pages
            next if /warning: can\'t find numbered character/ && $lang ne "";
+           # ignore groff's break warnings on Japanese pages
+           next if /: (can't break line|cannot adjust line)/ && $lang eq "ja";
            chomp;
            s/^[^:]+://o;
            tag "manpage-has-errors-from-man", "$file", "$_";

Reply via email to