summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/po4a/files/po4a-man.patch')
-rw-r--r--app-text/po4a/files/po4a-man.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-man.patch
index 6dd94aed153d..b166887283cb 100644
--- a/app-text/po4a/files/po4a-man.patch
+++ b/app-text/po4a/files/po4a-man.patch
@@ -1,18 +1,18 @@
--- a/Po4aBuilder.pm
+++ b/Po4aBuilder.pm
-@@ -233,7 +233,6 @@
+@@ -242,7 +242,6 @@
}
- $parser->parse_from_file ($file, $out);
+ $parser->parse_from_file( $file, $out );
-- system("gzip -9 -f $out") and die;
+- system("gzip -9 -n -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;
+@@ -264,7 +263,6 @@
+ print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
+ system("xsltproc -o $outdir/$outfile.$section --nonet $docbook_xsl_url $file") and die;
+ }
+- system("gzip -9 -n -f $outdir/$outfile.$section") and die;
+ }
+ unlink "$file" || die;
}
- unlink "$file" || die;
- }