diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff new file mode 100644 index 0000000000..320a90d84a --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff | |||
@@ -0,0 +1,31 @@ | |||
1 | Subject: Adjust Module::Build manual page extensions for the Debian Perl policy | ||
2 | Bug-Debian: http://bugs.debian.org/479460 | ||
3 | |||
4 | --- | ||
5 | cpan/Module-Build/lib/Module/Build/Base.pm | 4 ++-- | ||
6 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
7 | |||
8 | diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm | ||
9 | index 5bd8ec7..b4e606a 100644 | ||
10 | --- a/cpan/Module-Build/lib/Module/Build/Base.pm | ||
11 | +++ b/cpan/Module-Build/lib/Module/Build/Base.pm | ||
12 | @@ -3071,7 +3071,7 @@ sub manify_bin_pods { | ||
13 | foreach my $file (keys %$files) { | ||
14 | # Pod::Simple based parsers only support one document per instance. | ||
15 | # This is expected to change in a future version (Pod::Simple > 3.03). | ||
16 | - my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1 | ||
17 | + my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1p | ||
18 | my $manpage = $self->man1page_name( $file ) . '.' . | ||
19 | $self->config( 'man1ext' ); | ||
20 | my $outfile = File::Spec->catfile($mandir, $manpage); | ||
21 | @@ -3096,7 +3096,7 @@ sub manify_lib_pods { | ||
22 | while (my ($file, $relfile) = each %$files) { | ||
23 | # Pod::Simple based parsers only support one document per instance. | ||
24 | # This is expected to change in a future version (Pod::Simple > 3.03). | ||
25 | - my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3 | ||
26 | + my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3pm | ||
27 | my $manpage = $self->man3page_name( $relfile ) . '.' . | ||
28 | $self->config( 'man3ext' ); | ||
29 | my $outfile = File::Spec->catfile( $mandir, $manpage); | ||
30 | -- | ||
31 | tg: (c823880..) debian/module_build_man_extensions (depends on: upstream) | ||