summaryrefslogtreecommitdiff
path: root/graphics/netpbm/files/patch-bl
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-05-19 08:34:13 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-05-19 08:34:13 +0000
commit1e508f2672cb036a23ec93a8657e6335293f73bc (patch)
tree9c9ac3696ba6276ea4d8087f838413c2f5d6ae96 /graphics/netpbm/files/patch-bl
parentUpdate to 1.16 (diff)
Update to 9.1
PR: 18437 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=28593
Diffstat (limited to 'graphics/netpbm/files/patch-bl')
-rw-r--r--graphics/netpbm/files/patch-bl23
1 files changed, 12 insertions, 11 deletions
diff --git a/graphics/netpbm/files/patch-bl b/graphics/netpbm/files/patch-bl
index 053d1704028a..fd696ce1088d 100644
--- a/graphics/netpbm/files/patch-bl
+++ b/graphics/netpbm/files/patch-bl
@@ -1,14 +1,6 @@
---- pnm/jpegtopnm.c.orig Tue Apr 4 03:09:33 2000
-+++ pnm/jpegtopnm.c Sat Apr 15 08:00:00 2000
-@@ -31,6 +31,7 @@
- #include <stdio.h>
- #include <errno.h>
- #include <jpeglib.h>
-+#include "shhopt.h"
- #include "pnm.h"
-
- #define EXIT_WARNING 2 /* Goes with EXIT_FAILURE, EXIT_SUCCESS in stdlib.h */
-@@ -100,12 +101,22 @@
+--- pnm/jpegtopnm.c.orig Sun Apr 9 07:46:08 2000
++++ pnm/jpegtopnm.c Mon May 8 00:00:00 2000
+@@ -112,12 +112,22 @@
char ** const argv_parse = malloc(argc*sizeof(char *));
/* argv, except we modify it as we parse */
@@ -31,3 +23,12 @@
/* Set the defaults */
cmdline_p->verbose = FALSE;
+@@ -130,7 +140,7 @@
+ argc_parse = argc;
+ for (i=0; i < argc; i++) argv_parse[i] = argv[i];
+
+- pm_optParseOptions(&argc_parse, argv_parse, option_def, 0);
++ optParseOptions(&argc_parse, argv_parse, option_def, 0);
+ /* Uses and sets argc_parse, argv_parse and all of *cmdline_p. */
+
+ if (argc_parse - 1 == 0)