NetBSD Problem Report #21542

Received: (qmail 27530 invoked by uid 605); 12 May 2003 02:17:36 -0000
Message-Id: <20030512021736.27529.qmail@mail.netbsd.org>
Date: Mon, 12 May 2003 11:17:32 +0900
From: Toru TAKAMIZU <ttaka@earth.email.ne.jp>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: ttaka@earth.email.ne.jp
To: gnats-bugs@gnats.netbsd.org
Subject: cpuflags.1 needs tweaking
X-Send-Pr-Version: 3.95

>Number:         21542
>Category:       pkg
>Synopsis:       cpuflags.1 needs tweaking
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    abs
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 12 02:18:00 +0000 2003
>Closed-Date:    Mon May 12 11:07:33 +0000 2003
>Last-Modified:  Mon May 12 11:08:00 +0000 2003
>Originator:     Toru TAKAMIZU
>Release:        NetBSD 1.6.1_STABLE
>Organization:
>Environment:
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
>Description:
cpuflags.1 contains a line

.It

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".

>How-To-Repeat:
"man cpuflags" and you can't see the section "EXAMPLES" and below.

>Fix:
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.
+.Pp
 .Bl -tag -width CPU_FLAGS -compact
-.It
 .It CPU_FLAGS
 The output of cpuflags
 .It CPU_DIR
>Release-Note:
>Audit-Trail:

From: David Brownlee <abs@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/21542 CVS commit: pkgsrc/devel/cpuflags
Date: Mon, 12 May 2003 11:05:48 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	abs
 Date:		Mon May 12 11:05:48 UTC 2003

 Modified Files:
 	pkgsrc/devel/cpuflags: Makefile
 	pkgsrc/devel/cpuflags/files: cpuflags.1

 Log Message:
 Update to 0.41:
 Fix mdoc usage in manpage - from Toru TAKAMIZU in PR pkg/21542


 To generate a diff of this commit:
 cvs rdiff -r1.42 -r1.43 pkgsrc/devel/cpuflags/Makefile
 cvs rdiff -r1.9 -r1.10 pkgsrc/devel/cpuflags/files/cpuflags.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: abs 
State-Changed-When: Mon May 12 11:07:00 UTC 2003 
State-Changed-Why:  
Patch applied and cpuflags updated to 0.41. 


Responsible-Changed-From-To: pkg-manager->abs 
Responsible-Changed-By: abs 
Responsible-Changed-When: Mon May 12 11:07:00 UTC 2003 
Responsible-Changed-Why:  

From: David Brownlee <abs@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/21542 CVS commit: pkgsrc/doc
Date: Mon, 12 May 2003 11:06:40 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	abs
 Date:		Mon May 12 11:06:40 UTC 2003

 Modified Files:
 	pkgsrc/doc: CHANGES

 Log Message:
 Update cpuflags to 0.41:
     Fix mdoc usage in manpage - from Toru TAKAMIZU in PR pkg/21542


 To generate a diff of this commit:
 cvs rdiff -r1.2218 -r1.2219 pkgsrc/doc/CHANGES

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.