summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2019-01-20 00:27:16 +0900
committerAkinori Hattori <hattya@gentoo.org>2019-01-20 00:27:16 +0900
commit299c2af293818d6f0b8669ba8c0d6eb1be1b08b7 (patch)
tree79aaceae76c70103673637ff95c95103beb7273d /app-text/po4a/files/po4a-man.patch
parentapp-shells/yash: new upstream release (diff)
downloadgentoo-299c2af293818d6f0b8669ba8c0d6eb1be1b08b7.tar.gz
gentoo-299c2af293818d6f0b8669ba8c0d6eb1be1b08b7.tar.bz2
gentoo-299c2af293818d6f0b8669ba8c0d6eb1be1b08b7.zip
app-text/po4a: do not compress man pages
Closes: https://bugs.gentoo.org/675402 Signed-off-by: Akinori Hattori <hattya@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-text/po4a/files/po4a-man.patch')
-rw-r--r--app-text/po4a/files/po4a-man.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-man.patch
new file mode 100644
index 00000000000..6dd94aed153
--- /dev/null
+++ b/app-text/po4a/files/po4a-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
++++ b/Po4aBuilder.pm
+@@ -233,7 +233,6 @@
+ }
+ $parser->parse_from_file ($file, $out);
+
+- system("gzip -9 -f $out") and die;
+ unlink "$file" || die;
+ }
+
+@@ -245,7 +244,6 @@
+ if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) {
+ my ($outdir, $section, $outfile) = ($1, $2, $3);
+ system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
+- system ("gzip -9 -f $outdir/$outfile.$section") and die;
+ }
+ unlink "$file" || die;
+ }