diff options
| author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-05-25 20:13:48 +0000 |
|---|---|---|
| committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-05-25 20:13:48 +0000 |
| commit | 7009583ffbcfe410c9ea89cbe422b7ee19529960 (patch) | |
| tree | ca7ad93a433a1ca7574557a1a16cd848213e5a76 /graphics/netpbm/files/patch-editor-pnmquant | |
| parent | - Update to 0.11 (diff) | |
- new option: WITH_NETPBM_DEVEL, update to 10.30
Diffstat (limited to 'graphics/netpbm/files/patch-editor-pnmquant')
| -rw-r--r-- | graphics/netpbm/files/patch-editor-pnmquant | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/graphics/netpbm/files/patch-editor-pnmquant b/graphics/netpbm/files/patch-editor-pnmquant deleted file mode 100644 index f61ca961c530..000000000000 --- a/graphics/netpbm/files/patch-editor-pnmquant +++ /dev/null @@ -1,40 +0,0 @@ ---- editor/pnmquant.orig Sun Feb 19 22:03:42 2006 -+++ editor/pnmquant Mon Feb 20 09:41:57 2006 -@@ -15,7 +15,9 @@ - use Getopt::Long; - use File::Temp "tempfile"; - #use Fcntl ":seek"; # not available in Perl 5.00503 --use Fcntl ":seek"; -+use Fcntl; -+use POSIX qw(SEEK_SET SEEK_CUR SEEK_END); -+ - - my ($TRUE, $FALSE) = (1,0); - -@@ -57,7 +59,7 @@ - my $infile; - my $ncolors = $ARGV[0]; - -- if (!($ncolors =~ m{ ^[[:digit:]]+$ }x ) || $ncolors == 0) { -+ if (!($ncolors =~ m{ ^[\d]+$ }x ) || $ncolors == 0) { - print(STDERR - "Number of colors argument '$ncolors' is not a positive " . - "integer.\n"); -@@ -116,7 +118,7 @@ - tell(INFH); # Avoids bogus "INFH is not referenced" warning - } - } else { -- open(STDIN, "<", $infile) -+ open(STDIN, "<" . $infile) - or die("Unable to open input file '$infile'. Errno=$ERRNO"); - } - } -@@ -157,7 +159,7 @@ - $spreadOpt = "-spreadbrightness"; - } - -- open(STDOUT, ">", $mapfileSpec); -+ open(STDOUT, ">" . $mapfileSpec); - - my $maprc = system("pnmcolormap", $ncolors, $averageOpt, $spreadOpt); - |
