pkgsrc/net/hlfl/patches/patch-ab
wiz beadd5f93c Add some bug fix patches from hlfl's CVS, reported by ISIHARA
Takanori in PR 27105.  Bump PKGREVISION.
2006-01-08 11:46:42 +00:00

31 lines
839 B
Text

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