openbsd-ports/security/hlfl/patches/patch-src_hlfl_c
benoit 8e1354dfde - update to hlfl 0.60.1
- regen PLIST
- change maintainer

ok ajacoutot@
2009-05-21 10:16:59 +00:00

30 lines
784 B
Plaintext

--- 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':{