summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/po4a/files/0.41-po4a-build.patch')
-rw-r--r--app-text/po4a/files/0.41-po4a-build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-text/po4a/files/0.41-po4a-build.patch b/app-text/po4a/files/0.41-po4a-build.patch
new file mode 100644
index 000000000000..f869775ccee2
--- /dev/null
+++ b/app-text/po4a/files/0.41-po4a-build.patch
@@ -0,0 +1,16 @@
+--- a/Po4aBuilder.pm
++++ b/Po4aBuilder.pm
+@@ -29,7 +29,12 @@
+ my $self = shift;
+ $self->depends_on('binpo');
+ $self->make_files_writable("po/pod");
+- system("./share/po4a-build -f po4a-build.conf") && die;
++ { # Fix for massive slowdown/Memory consumption
++ open( my $fh, '-|', qw( ./share/po4a-build -f po4a-build.conf )) or die;
++ while( defined ( my $line = <$fh> ) ){
++ print $line;
++ }
++ }
+ File::Path::mkpath( File::Spec->catdir( 'blib', 'manl10n' ), 0, oct(777) );
+ system ("cp -R _build/po4a/man/* blib/manl10n") && die;
+ }