From f689ded903e006ebf48217b63d01eb414857f39f Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Mon, 14 Jul 2003 02:37:49 +0000 Subject: get rid of libgnugetopt dependency for -CURRENT, use USE_GETOPT_LONG instead. respect CC, CFLAGS. use getopt_long() instead of getopt_long_only(). --- www/htdump/files/patch-init.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/htdump/files/patch-init.c (limited to 'www/htdump/files/patch-init.c') 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 -- cgit v1.2.3