Bug 17914

Summary: Paging output garbled in pkg-config(1)
Product: pkg-config Reporter: Jorn Amundsen <jorn.amundsen>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: low    
Version: unspecified   
Hardware: PowerPC   
OS: AIX   
Whiteboard:
i915 platform: i915 features:

Description Jorn Amundsen 2008-10-05 09:15:19 UTC
At line 150 of pkg-config.1 there is a macro inappropriately starting in column 1:

    150 \fI.pc\fP files. Most packages define the variable "prefix", for

This is garbling subsequent page headers:

friggms:src$ nroff -man pkg-config.1 | egrep 'Page|1\).\).\).\)$'
     pkg-config(1)                                       pkg-config(1)
     Page 1                                          (printed 10/5/08)
     pkg-config(1)                                       pkg-config(1)
     Page 2                                          (printed 10/5/08)
     pkg-config(1)                                       pkg-config(1)
     Page %                                          (printed 10/5/08)
     pkg-con4ig(1)                                       pkg-con4ig(1)
     Page %                                          (printed 10/5/08)
     pkg-con5ig(1)                                       pkg-con5ig(1)
<snip>

This is easily fixed by avoiding the \fI in column 1, for instance by moving the last any from line 149 to line 150:

This sets a global value for a variable, overriding the value in
any \fI.pc\fP files. Most packages define the variable "prefix", for
Comment 1 Tollef Fog Heen 2010-05-09 00:04:00 UTC
This is now fixed in git fbc4f8e.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.