diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/installman-utf8.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl/debian/installman-utf8.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/installman-utf8.diff b/meta/recipes-devtools/perl/perl/debian/installman-utf8.diff new file mode 100644 index 0000000000..0e81101dbc --- /dev/null +++ b/meta/recipes-devtools/perl/perl/debian/installman-utf8.diff @@ -0,0 +1,29 @@ +From 5e0c34139bbd577b09522056cbdf4812275eb757 Mon Sep 17 00:00:00 2001 +From: Niko Tyni <ntyni@debian.org> +Date: Sat, 19 Nov 2016 21:30:46 +0200 +Subject: [PATCH] Generate man pages with UTF-8 characters + +This fixes totally incorrectly rendered manual pages like +perlunicook and perltw. + +TODO: should probably be a Configure option for proper upstreaming. + +Bug-Debian: https://bugs.debian.org/840211 +Patch-Name: debian/installman-utf8.diff + +--- + installman | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/installman b/installman +index 53117ab..80d9bc4 100755 +--- a/installman ++++ b/installman +@@ -153,6 +153,7 @@ sub pod2man { + $manpage = "${mandir}/${manpage}.${manext}"; + + my $parser = Pod::Man->new( section => $manext, ++ utf8 => 1, + official=> 1, + center => 'Perl Programmers Reference Guide' + ); |