summaryrefslogtreecommitdiff
path: root/debian/patches/debian/installman-utf8.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-26 14:11:14 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-26 14:11:14 +0300
commitcf9383412494964d6188fcf08a362c0c0f313afc (patch)
treebd9e6a5b3a63cbb155b81112c855c19cb5f2b314 /debian/patches/debian/installman-utf8.diff
downloadperl-cf9383412494964d6188fcf08a362c0c0f313afc.tar.gz
Import perl (5.30.0-9)debian/5.30.0-9debian
Diffstat (limited to 'debian/patches/debian/installman-utf8.diff')
-rw-r--r--debian/patches/debian/installman-utf8.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/debian/installman-utf8.diff b/debian/patches/debian/installman-utf8.diff
new file mode 100644
index 0000000..2da23b7
--- /dev/null
+++ b/debian/patches/debian/installman-utf8.diff
@@ -0,0 +1,26 @@
+From: Niko Tyni <ntyni@debian.org>
+Date: Sat, 19 Nov 2016 21:30:46 +0200
+Subject: 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
+---
+ installman | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/installman b/installman
+index 0154be4..fff0ff0 100755
+--- a/installman
++++ b/installman
+@@ -161,6 +161,7 @@ sub pod2man {
+ $manpage = "${mandir}/${manpage}.${manext}";
+
+ my $parser = Pod::Man->new( section => $manext,
++ utf8 => 1,
+ official=> 1,
+ center => 'Perl Programmers Reference Guide'
+ );