summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-06-03 11:54:41 +0000
committerobache <obache@pkgsrc.org>2013-06-03 11:54:41 +0000
commit1b882f792bdfbae8cc9e8d31fae8df0c4ea171bd (patch)
treeea2482a3ac48e895cb77be6a3f77166bbd810f28 /emulators
parente5639b05a331a69d96621e44963fc9e62159ee47 (diff)
downloadpkgsrc-1b882f792bdfbae8cc9e8d31fae8df0c4ea171bd.tar.gz
apply change to be acceptable with pod2man in perl-5.18.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu0/distinfo3
-rw-r--r--emulators/qemu0/patches/patch-scripts_texi2pod.pl38
2 files changed, 40 insertions, 1 deletions
diff --git a/emulators/qemu0/distinfo b/emulators/qemu0/distinfo
index 19384406024..67ec9b077fc 100644
--- a/emulators/qemu0/distinfo
+++ b/emulators/qemu0/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2012/06/07 21:35:37 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2013/06/03 11:54:41 obache Exp $
SHA1 (qemu-0.15.1.tar.gz) = 30cf3b4dabb4b5d8efadb20f364eb8181f317681
RMD160 (qemu-0.15.1.tar.gz) = fd1cfde94f96569af671cc96d1c2e4bad524fd61
@@ -19,4 +19,5 @@ SHA1 (patch-hw_ppc__newworld.c) = a0011c05cd35aff8982b97c3ec669e18c11ad07b
SHA1 (patch-hw_ppc__oldworld.c) = 790daed4d0bdc51628a6252716480510f8c444c8
SHA1 (patch-hw_xilinx__axienet.c) = 6f715e4e2241c3c9006bc571084ca5fd12658f13
SHA1 (patch-ioport.c) = bb0c6671eaf39ef9b846d0ea2633cb1d56edddb1
+SHA1 (patch-scripts_texi2pod.pl) = 4822f54e16f27b1ba586116e3158e2d3d9b37906
SHA1 (patch-slirp_tcp__subr.c) = d2aca58ea0726b76b5f644af27fde0598beaf048
diff --git a/emulators/qemu0/patches/patch-scripts_texi2pod.pl b/emulators/qemu0/patches/patch-scripts_texi2pod.pl
new file mode 100644
index 00000000000..fd8d1923630
--- /dev/null
+++ b/emulators/qemu0/patches/patch-scripts_texi2pod.pl
@@ -0,0 +1,38 @@
+$NetBSD: patch-scripts_texi2pod.pl,v 1.1 2013/06/03 11:54:42 obache Exp $
+
+* allow UTF-8 in man
+ pod2man in perl-5.18 dislike using UTF-8 character without =encoding
+ http://git.qemu.org/?p=qemu.git;a=commitdiff;h=3179d694a8dcaa091131e3db644d445c0130713e
+
+--- scripts/texi2pod.pl.orig 2011-10-12 16:41:43.000000000 +0000
++++ scripts/texi2pod.pl
+@@ -36,6 +36,7 @@ $fnno = 1;
+ $inf = "";
+ $ibase = "";
+ @ipath = ();
++$encoding = undef;
+
+ while ($_ = shift) {
+ if (/^-D(.*)$/) {
+@@ -97,6 +98,12 @@ while(<$inf>) {
+ /^\@setfilename\s+([^.]+)/ and $fn = $1, next;
+ /^\@settitle\s+([^.]+)/ and $tl = postprocess($1), next;
+
++ # Look for document encoding
++ /^\@documentencoding\s+([^.]+)/ and do {
++ $encoding = $1 unless defined $encoding;
++ next;
++ };
++
+ # Identify a man title but keep only the one we are interested in.
+ /^\@c\s+man\s+title\s+([A-Za-z0-9-]+)\s+(.+)/ and do {
+ if (exists $defs{$1}) {
+@@ -336,6 +343,8 @@ $inf = pop @instack;
+
+ die "No filename or title\n" unless defined $fn && defined $tl;
+
++print "=encoding $encoding\n\n" if defined $encoding;
++
+ $sects{NAME} = "$fn \- $tl\n";
+ $sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
+