summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2016-07-16 10:28:11 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-07-17 15:28:14 +0200
commit03f543085c251bae1d099710ecc34a85baef0ed4 (patch)
treefaeb5948d3a1f72568e4bc2637736c0eb281585e /app-text
parentapp-text/html2text: remove unused patch (diff)
downloadgentoo-03f543085c251bae1d099710ecc34a85baef0ed4.tar.gz
gentoo-03f543085c251bae1d099710ecc34a85baef0ed4.tar.bz2
gentoo-03f543085c251bae1d099710ecc34a85baef0ed4.zip
app-text/po4a: remove unused patches
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/po4a/files/0.41-po4a-build.patch16
-rw-r--r--app-text/po4a/files/compare-po.pl37
2 files changed, 0 insertions, 53 deletions
diff --git a/app-text/po4a/files/0.41-po4a-build.patch b/app-text/po4a/files/0.41-po4a-build.patch
deleted file mode 100644
index f869775ccee2..000000000000
--- a/app-text/po4a/files/0.41-po4a-build.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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;
- }
diff --git a/app-text/po4a/files/compare-po.pl b/app-text/po4a/files/compare-po.pl
deleted file mode 100644
index c01b9b8f31ee..000000000000
--- a/app-text/po4a/files/compare-po.pl
+++ /dev/null
@@ -1,37 +0,0 @@
-#! /usr/bin/perl
-# Remove header entry of two PO files and compare them
-
-my $f1 = shift(@ARGV);
-my $f2 = shift(@ARGV);
-
-open IN1, "<", $f1 or die "Unable to read 1st file: $!\n";
-open IN2, "<", $f2 or die "Unable to read 2nd file: $!\n";
-my $inMsgstr = 0;
-my $lineno = 0;
-while (<IN1>) {
- $lineno ++;
- if (m/^msgstr/) {
- $inMsgstr = 1;
- } elsif ($inMsgstr == 1 && $_ !~ /^"/) {
- last;
- }
-}
-$inMsgstr = 0;
-while (<IN2>) {
- if (m/^msgstr/) {
- $inMsgstr = 1;
- } elsif ($inMsgstr == 1 && $_ !~ /^"/) {
- last;
- }
-}
-
-# Now compare lines
-while (<IN1>) {
- $lineno ++;
- my $l2 = <IN2> or die "Unexpected EOF found when reading $f2\n";
- $_ eq $l2 or die "Files $f1 and $f2 differ at line $lineno:\n-$_+$l2\n";
-}
-close IN1;
-die "EOF expected at 2nd file\n" unless eof(IN2);
-close IN2;
-exit 0;