diff options
Diffstat (limited to 'net/hlfl/patches/patch-ab')
-rw-r--r-- | net/hlfl/patches/patch-ab | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net/hlfl/patches/patch-ab b/net/hlfl/patches/patch-ab new file mode 100644 index 00000000000..e1cc567fd73 --- /dev/null +++ b/net/hlfl/patches/patch-ab @@ -0,0 +1,31 @@ +$NetBSD: patch-ab,v 1.1 2006/01/08 11:46:43 wiz Exp $ + +--- src/hlfl.c.orig 2004-09-30 01:11:05.000000000 +0900 ++++ src/hlfl.c +@@ -58,7 +58,7 @@ struct definition *definitions = NULL; + + #ifdef HAVE_GETOPT + /* option string for getopt() or getopt_long() */ +-char *optstr = "hvV:c:t:o:"; ++char *optstr = "c:t:o:hvV"; + #ifdef HAVE_GETOPT_LONG + /* array of long option structs for getopt_long() */ + struct option long_options[] = { +@@ -66,7 +66,7 @@ struct option long_options[] = { + {"output", 1, 0, 'o'}, + {"type", 1, 0, 't'}, + {"version", 0, 0, 'V'}, +- {"verbose", 1, 0, 'v'}, ++ {"verbose", 0, 0, 'v'}, + {"check", 1, 0, 'c'}, + {0, 0, 0, 0} + }; +@@ -1173,7 +1173,7 @@ char **argv; + break; + } + case 'v':{ +- verbose_level = atoi(optarg); ++ verbose_level = 1; + break; + } + case 'V':{ |