freebsd-ports/www/logtools/files/patch-clfsplit.cpp
Adam Weinberger 013f4c87ed Stage, and fix build with clang.
PR:		191377
Submitted by:	tkato432@yahoo.com
2014-07-08 20:11:04 +00:00

11 lines
288 B
C++

--- clfsplit.cpp.orig Tue Jan 8 17:41:53 2002
+++ clfsplit.cpp Tue Jan 8 17:41:18 2002
@@ -199,7 +199,7 @@
MAP m;
FILE *input = stdin;
bool new_input = false;
- optind = 0;
+ optind = 1;
while(-1 != (int_c = getopt(argc, argv, "d:i:f:s:")) )
{
switch(char(int_c))