freebsd-ports/www/htdump/files/patch-init.c
FUJISHIMA Satsuki f689ded903 get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
respect CC, CFLAGS.
use getopt_long() instead of getopt_long_only().
2003-07-14 02:37:49 +00:00

11 lines
343 B
C

--- init.c.orig Wed Dec 20 00:26:47 2000
+++ init.c Mon Jul 7 04:39:00 2003
@@ -121,7 +121,7 @@
CONFIG.new_argv = CONFIG.argv;
-while ((t = getopt_long_only(CONFIG.new_argc
+while ((t = getopt_long(CONFIG.new_argc
,CONFIG.new_argv
,"h"
,long_options