Debian Codegraph @

debian/patches/fix-pod-errors

raw
1 Description: Fix POD syntax and formatting errors
2 Author: Russ Allbery <[email protected]>
3 Reviewed-by: gregor herrmann <[email protected]>
4 Last-Update: 2023-10-25
5
6 The POD documentation uses an unusual method for adding remarks to the
7 middle of an =over/=item list, which in combination with some placement
8 of sentences and the use of podselect confuses Pod::Man. Move things
9 around to achieve the desired result without syntax errors.
10
11 Note:
12 (libauthen-sasl-xs-perl is the successor of libauthen-sasl-cyrus-perl)
13 podselect is still mentioned in Makefile.PL but not run; some POD errors still remain.
14 [gregor 2023-10-25]
15
16 --- a/XS.pod
17 +++ b/XS.pod
18 @@ -232,6 +232,8 @@
19 name of the server being contacted, which may also be used
20 by the underlying mechanism.
21
22 +See SYNOPSIS for an example.
23 +
24 =back
25
26 B<Remark>:
27 @@ -245,12 +247,10 @@
28 side. Format of this arguments in an IPv4 environment should be: a.b.c.d;port.
29 See sasl_server_new(3) for details.
30
31 -=over 4
32 -
33 -See SYNOPSIS for an example.
34 -
35 =pod
36
37 +=over 4
38 +
39 =item server_start ( CHALLENGE )
40
41 C<server_start> begins the authentication using the chosen mechanism.
42 @@ -289,10 +289,10 @@
43
44 See example below.
45
46 -=over 4
47 -
48 =pod
49
50 +=over 4
51 +
52 =item listmech( START , SEPARATOR , END )
53
54 C<listmech> returns a string containing all mechanisms allowed for the user
55 @@ -370,8 +370,6 @@
56 false is returned. You can also use C<code == 1> but it looks smarter I think.
57 That's why we all using perl, eh?
58
59 -=pod
60 -
61 =back
62
63 =head1 EXAMPLE