summaryrefslogtreecommitdiff
path: root/www/htdump/files/patch-init.c
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:37:49 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:37:49 +0000
commitf689ded903e006ebf48217b63d01eb414857f39f (patch)
treeed5706ee7a87d2c132a6d09336b456c094216664 /www/htdump/files/patch-init.c
parentget rid of libgnugetopt dependency for -CURRENT, (diff)
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead. respect CC, CFLAGS. use getopt_long() instead of getopt_long_only().
Diffstat (limited to 'www/htdump/files/patch-init.c')
-rw-r--r--www/htdump/files/patch-init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/htdump/files/patch-init.c b/www/htdump/files/patch-init.c
new file mode 100644
index 000000000000..a2d9f214edda
--- /dev/null
+++ b/www/htdump/files/patch-init.c
@@ -0,0 +1,11 @@
+--- 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