diff options
author | sf <sf@FreeBSD.org> | 2003-07-14 10:37:35 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-07-14 10:37:35 +0800 |
commit | ea30c5c5fd39eda538b04740696175ebcbcc18dc (patch) | |
tree | 628c555fdaf6b578b8cf2faf7c97127a702945ba /sysutils/wmmount/files | |
parent | 2ba2791f07c58ffb4d307a60ab130c992e79c40c (diff) | |
download | freebsd-ports-gnome-ea30c5c5fd39eda538b04740696175ebcbcc18dc.tar.gz freebsd-ports-gnome-ea30c5c5fd39eda538b04740696175ebcbcc18dc.tar.zst freebsd-ports-gnome-ea30c5c5fd39eda538b04740696175ebcbcc18dc.zip |
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
use getopt_long() instead of getopt_long_only().
Diffstat (limited to 'sysutils/wmmount/files')
-rw-r--r-- | sysutils/wmmount/files/patch-dockapp.c | 11 | ||||
-rw-r--r-- | sysutils/wmmount/files/patch-wmmount.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/wmmount/files/patch-dockapp.c b/sysutils/wmmount/files/patch-dockapp.c new file mode 100644 index 000000000000..de01dbd9c0ce --- /dev/null +++ b/sysutils/wmmount/files/patch-dockapp.c @@ -0,0 +1,11 @@ +--- dockapp.c.orig Fri Jun 18 04:41:41 1999 ++++ dockapp.c Mon Jul 7 04:34:44 2003 +@@ -89,7 +89,7 @@ + dockapp_argv=argv; + while(true) { + option_index=0; +- option_c=getopt_long_only(argc, argv, "-hwsaf:b:", long_options, &option_index); ++ option_c=getopt_long(argc, argv, "-hwsaf:b:", long_options, &option_index); + if(option_c==-1) + break; + if(option_c==0) { 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) { |