opnsense-ports/sysutils/grok/files/patch-discover_main.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
404 B
C

--- ./discover_main.c.orig 2013-10-10 13:25:59.000000000 -0400
+++ ./discover_main.c 2013-10-10 13:26:13.000000000 -0400
@@ -33,7 +33,7 @@
grok_init(&grok);
int pattern_count = 0;
- while ((opt = getopt_long_only(argc, argv, "hp:v", options, &optind)) != -1) {
+ while ((opt = getopt_long_only(argc, argv, "hp:v", options, NULL)) != -1) {
switch (opt) {
case 'h':
usage();