Subject: pkg/21542: cpuflags.1 needs tweaking
To: None <>
From: Toru TAKAMIZU <>
List: netbsd-bugs
Date: 05/12/2003 11:17:32
>Number:         21542
>Category:       pkg
>Synopsis:       cpuflags.1 needs tweaking
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 12 02:18:00 UTC 2003
>Originator:     Toru TAKAMIZU
>Release:        NetBSD 1.6.1_STABLE
System: NetBSD localhost 1.6.1_STABLE NetBSD 1.6.1_STABLE (MIWA) #27: Mon Apr 28 18:45:35 JST 2003 toru@localhost:/usr/src/sys/arch/i386/compile/MIWA i386
Architecture: i386
Machine: i386
cpuflags.1 contains a line


which causes a problem -- groff(1) can't process the file correctly.
Instead of this line, ".Pp" or something like that should be used
for providing a blank line.

# Older versions of groff(1) handles this "correctly".

"man cpuflags" and you can't see the section "EXAMPLES" and below.

Although I don't know the following patch is fully compliant with
the mdoc standard, it "just works".

Index: files/cpuflags.1
RCS file: /pub/NetBSD-CVS/pkgsrc/devel/cpuflags/files/cpuflags.1,v
retrieving revision 1.9
diff -u -r1.9 cpuflags.1
--- files/cpuflags.1	2002/10/17 11:36:44	1.9
+++ files/cpuflags.1	2003/05/12 02:06:20
@@ -20,8 +20,8 @@
 will set the following
 .Xr make 1
 variables, plus add CPU_FLAGS and CPU_DIR to .MAKEFLAGS for sub-makes.
 .Bl -tag -width CPU_FLAGS -compact
 The output of cpuflags