Bug#674206: Man.pm: Undefined strings and a number register in groff

Bjarni Ingi Gislason bjarniig at rhi.hi.is
Wed May 23 20:25:32 UTC 2012


Package: perl-modules
Version: 5.10.1-17squeeze3
Severity: normal
Tags: patch

  From "groff -b -ww -mandoc eximstats.8":

<groff: eximstats.8>:51: warning: number register `F' not defined
<groff: eximstats.8>:308: warning: macro `C`' not defined
<groff: eximstats.8>:308: warning: macro `C'' not defined

  The case about register "F" was reported to upstream, but my
patch there is wrong
(https://rt.cpan.org/Ticket/Display.html?id=75434).

  The strings C' and C` are said to expand to nothing in troff in
the explanation above the code.

  Patch:

--- Man.pm	2011-12-20 20:39:34.000000000 +0000
+++ Man.pm.new	2012-05-23 17:31:09.000000000 +0000
@@ -1358,6 +1358,8 @@
 .    ds PI \(*p
 .    ds L" ``
 .    ds R" ''
+.    ds C`
+.    ds C'
 'br\}
 .\"
 .\" Escape single quotes in literal strings from groff's Unicode transform.
@@ -1368,17 +1370,21 @@
 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
 .\" entries marked with X<> in POD.  Of course, you'll have to process the
 .\" output yourself in some meaningful fashion.
-.ie \nF \{\
+.\" Avoid warning from groff about undefined register 'F'.
+.de IX
+..
+.nr rF 0
+.if \n(.g .if r F .nr rF 1
+.if ( \n(rF : (\n(.g == 0) ) \{
+.  if \nF \{
 .    de IX
 .    tm Index:\\$1\t\\n%\t"\\$2"
 ..
 .    nr % 0
 .    rr F
+.  \}
 .\}
-.el \{\
-.    de IX
-..
-.\}
+.rr rF
 ----END OF PREAMBLE----
 
     if ($accents) {

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-45
Locale: LANG=is_IS, LC_CTYPE=is_IS (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl-modules depends on:
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 

perl-modules recommends no packages.

perl-modules suggests no packages.

-- no debconf information

-- 
Bjarni I. Gislason






More information about the Perl-maintainers mailing list