From cfbbad11c967c68017361159bd04d46e52fd4d95 Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Mon, 14 Jul 2003 02:37:35 +0000 Subject: get rid of libgnugetopt dependency for -CURRENT, use USE_GETOPT_LONG instead. use getopt_long() instead of getopt_long_only(). --- sysutils/wmmount/files/patch-wmmount.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/wmmount/files/patch-wmmount.c (limited to 'sysutils/wmmount/files/patch-wmmount.c') diff --git a/sysutils/wmmount/files/patch-wmmount.c b/sysutils/wmmount/files/patch-wmmount.c new file mode 100644 index 000000000000..384f2520dd57 --- /dev/null +++ b/sysutils/wmmount/files/patch-wmmount.c @@ -0,0 +1,11 @@ +--- wmmount.c.orig Fri Jun 18 04:41:41 1999 ++++ wmmount.c Mon Jul 7 04:35:33 2003 +@@ -231,7 +231,7 @@ + }; + while(true) { + option_index=0; +- option_c=getopt_long_only(argc, (char * const *)argv, "-h", long_options, &option_index); ++ option_c=getopt_long(argc, (char * const *)argv, "-h", long_options, &option_index); + if(option_c==-1) + break; + if(option_c==1) { -- cgit v1.2.3