From 2704aa9a9bb043ea8782620a5dc88f30e234473e Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 31 Jan 2004 08:14:52 +0000 Subject: - update to 10.20 - use DOCSDIR, suports now NOPORTDOCS --- graphics/netpbm/files/patch-editor-pnmquant | 45 ----------------------------- 1 file changed, 45 deletions(-) delete mode 100644 graphics/netpbm/files/patch-editor-pnmquant (limited to 'graphics/netpbm/files/patch-editor-pnmquant') diff --git a/graphics/netpbm/files/patch-editor-pnmquant b/graphics/netpbm/files/patch-editor-pnmquant deleted file mode 100644 index df830ab671a1..000000000000 --- a/graphics/netpbm/files/patch-editor-pnmquant +++ /dev/null @@ -1,45 +0,0 @@ ---- editor/pnmquant.DIST Mon Dec 29 08:11:52 2003 -+++ editor/pnmquant Mon Dec 29 08:12:24 2003 -@@ -20,7 +20,7 @@ - - sub parseCommandLine(@) { - -- my @args = @_; -+ @ARGV = @_; - - my ($opt_center, $opt_meancolor, $opt_meanpixel, $opt_floyd, - $opt_spreadbrightness, $opt_spreadluminosity, $opt_mapfile); -@@ -34,18 +34,18 @@ - "floyd|fs!" => \$opt_floyd, - ); - -- if (@args > 2) { -+ if (@ARGV > 2) { - print(STDERR "This program takes at most 2 arguments. You specified ", -- 0+@args, "\n"); -+ 0+@ARGV, "\n"); - exit(1); - } -- if (@args < 1) { -+ if (@ARGV < 1) { - print(STDERR - "You must specify the number of colors as an argument.\n"); - exit(1); - } - my $infile; -- my $ncolors = $args[0]; -+ my $ncolors = $ARGV[0]; - - if (!($ncolors =~ m{ ^[[:digit:]]+$ }x ) || $ncolors == 0) { - print(STDERR -@@ -54,8 +54,8 @@ - exit(1); - } - -- if (@args > 1) { -- $infile = $args[1]; -+ if (@ARGV > 1) { -+ $infile = $ARGV[1]; - } else { - $infile = "-"; - } -- cgit v1.2.3