openbsd-ports/x11/qwt/patches/patch-doc_man_man3_qwtlicense_3
zhuk 22126f2958 Fix wrong markup, causing:
1) filling whatis index by the whole page contents;
  2) skipping lines starting with punctuation characters.

Other minor problems are fixed as well while there; patch went upstream.

input jmc@
okay jmc@, bentley@
2014-10-05 09:49:14 +00:00

46 lines
2.2 KiB
Plaintext

$OpenBSD: patch-doc_man_man3_qwtlicense_3,v 1.1 2014/10/05 09:49:14 zhuk Exp $
Fix the manual structure, unbreaking apropos output.
ISSUE: https://sourceforge.net/p/qwt/patches/48/
--- doc/man/man3/qwtlicense.3.orig Sun Apr 11 13:55:11 2010
+++ doc/man/man3/qwtlicense.3 Sun Oct 5 13:39:06 2014
@@ -1,9 +1,9 @@
-.TH "qwtlicense" 3 "11 Apr 2010" "Version 5.2.1" "Qwt User's Guide" \" -*- nroff -*-
+.TH "QWTLICENSE" 3 "2010-04-11" "Version 5.2.1" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
-qwtlicense \- Qwt License, Version 1.0
-.PP
+qwtlicense \- Qwt License, Version 1.0
+.SH DESCRIPTION
.nf
Qwt License
Version 1.0, January 1, 2003
@@ -154,7 +154,7 @@ that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
-'work based on the library' and a 'work that uses the library'. The
+\&'work based on the library' and a 'work that uses the library'. The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
@@ -463,7 +463,7 @@ but may differ in detail to address new problems or co
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
-'any later version', you have the option of following the terms and
+\&'any later version', you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
@@ -514,7 +514,7 @@ ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
-'copyright' line and a pointer to where the full notice is found.
+\&'copyright' line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>