diff options
Diffstat (limited to 'graphics/netpbm/files')
| -rw-r--r-- | graphics/netpbm/files/patch-converter-other-anytopnm | 65 | ||||
| -rw-r--r-- | graphics/netpbm/files/patch-editor-pnmquant | 45 |
2 files changed, 0 insertions, 110 deletions
diff --git a/graphics/netpbm/files/patch-converter-other-anytopnm b/graphics/netpbm/files/patch-converter-other-anytopnm deleted file mode 100644 index d340b0a99577..000000000000 --- a/graphics/netpbm/files/patch-converter-other-anytopnm +++ /dev/null @@ -1,65 +0,0 @@ ---- converter/other/anytopnm Fri Sep 19 22:35:58 2003 -+++ converter/other/anytopnm Sun Dec 21 18:17:25 2003 -@@ -11,7 +11,7 @@ - # documentation. This software is provided "as is" without express or - # implied warranty. - --function putInputIntoTempfile() { -+putInputIntoTempfile() { - - # $1 is the input file specification - # $2 is the temporary file name -@@ -46,7 +46,7 @@ - - - --function setMimeType() { -+setMimeType() { - # $1 is the file name - - # Christos Zoulas's current 'file' (see Freshmeat) has the --mime option. -@@ -64,7 +64,7 @@ - - - --function computeTypeFromMimeType () { -+computeTypeFromMimeType() { - - # $1 is the mime type string - -@@ -100,7 +100,7 @@ - - - --function computeTypeFromTypeDescription () { -+computeTypeFromTypeDescription() { - - # $1 is the full description from 'file' of the file type - -@@ -196,7 +196,7 @@ - - - --function computeTypeFromFilenameExtension () { -+computeTypeFromFilenameExtension() { - # $1 is the filename extension (".gif", etc.) - - case "$1" in -@@ -304,7 +304,7 @@ - - - --function determineType () { -+determineType() { - - # $1 is the name of the file that contains the subject file's contents - # $2 is the mime type or "unknown" -@@ -327,7 +327,7 @@ - - - --function convertIt () { -+convertIt() { - # Based on the file type computed, do the conversion - - # $1 is the input file name 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 = "-"; - } |
