summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/debian/module_build_man_extensions.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/module_build_man_extensions.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/debian/module_build_man_extensions.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/module_build_man_extensions.diff
new file mode 100644
index 0000000..64401d9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/module_build_man_extensions.diff
@@ -0,0 +1,36 @@
1Upstream-Status:Inappropriate [debian patches]
2From fbb5f07872d45bac76b5c3c83b50a19aa5da10b0 Mon Sep 17 00:00:00 2001
3From: Niko Tyni <ntyni@debian.org>
4Date: Thu, 8 May 2008 14:32:33 +0300
5Subject: Adjust Module::Build manual page extensions for the Debian Perl
6 policy
7
8Bug-Debian: http://bugs.debian.org/479460
9
10Patch-Name: debian/module_build_man_extensions.diff
11---
12 cpan/Module-Build/lib/Module/Build/Base.pm | 4 ++--
13 1 files changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm
16index fba916a..82df4cc 100644
17--- a/cpan/Module-Build/lib/Module/Build/Base.pm
18+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
19@@ -3246,7 +3246,7 @@ sub manify_bin_pods {
20 foreach my $file (keys %$files) {
21 # Pod::Simple based parsers only support one document per instance.
22 # This is expected to change in a future version (Pod::Simple > 3.03).
23- my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1
24+ my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1p
25 my $manpage = $self->man1page_name( $file ) . '.' .
26 $self->config( 'man1ext' );
27 my $outfile = File::Spec->catfile($mandir, $manpage);
28@@ -3271,7 +3271,7 @@ sub manify_lib_pods {
29 while (my ($file, $relfile) = each %$files) {
30 # Pod::Simple based parsers only support one document per instance.
31 # This is expected to change in a future version (Pod::Simple > 3.03).
32- my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3
33+ my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3pm
34 my $manpage = $self->man3page_name( $relfile ) . '.' .
35 $self->config( 'man3ext' );
36 my $outfile = File::Spec->catfile( $mandir, $manpage);