aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/installman-utf8.diff
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-09-06 22:00:25 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2018-09-06 22:07:29 -0700
commit610991e483d2cf6a6b82322406630ed30547e844 (patch)
tree574c2ad4fee17b8ab5d3dc3dc359b16f96de1187 /meta/recipes-devtools/perl/perl/debian/installman-utf8.diff
parent0191456d81500f312569f5813f8c4d5ddadc17a7 (diff)
downloadopenembedded-core-contrib-timo/perl-5.26.2.tar.gz
perl: [WIP] upgrade to 5.26.2timo/perl-5.26.2
Bring in patches from debian, best effort at getting past do_patch task. Needs more work. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/installman-utf8.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/debian/installman-utf8.diff29
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'
+ );