From: | "Torsten Veller (tove)" <tove@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/po4a/files: 0.41-po4a-build.patch |
Date: | Sun, 29 May 2011 08:03:48 |
Message-Id: | 20110529080338.9307C20057@flycatcher.gentoo.org |
1 | tove 11/05/29 08:03:38 |
2 | |
3 | Added: 0.41-po4a-build.patch |
4 | Log: |
5 | Depend on dev-libs/libxslt, app-text/docbook-xsl-stylesheets (#368909), app-text/docbook-xml-dtd:4.1.2. Work around the endless waiting if output is redirected (#369011) |
6 | |
7 | (Portage version: 2.2.0_alpha37/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-text/po4a/files/0.41-po4a-build.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/files/0.41-po4a-build.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/po4a/files/0.41-po4a-build.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0.41-po4a-build.patch |
16 | =================================================================== |
17 | --- a/Po4aBuilder.pm |
18 | +++ b/Po4aBuilder.pm |
19 | @@ -29,7 +29,12 @@ |
20 | my $self = shift; |
21 | $self->depends_on('binpo'); |
22 | $self->make_files_writable("po/pod"); |
23 | - system("./share/po4a-build -f po4a-build.conf") && die; |
24 | + { # Fix for massive slowdown/Memory consumption |
25 | + open( my $fh, '-|', qw( ./share/po4a-build -f po4a-build.conf )) or die; |
26 | + while( defined ( my $line = <$fh> ) ){ |
27 | + print $line; |
28 | + } |
29 | + } |
30 | File::Path::mkpath( File::Spec->catdir( 'blib', 'manl10n' ), 0, oct(777) ); |
31 | system ("cp -R _build/po4a/man/* blib/manl10n") && die; |
32 | } |