Maintainer update:
1. Integrate COMMENT, new NEED_VERSION 2. Fix getopt.c compilation warning
This commit is contained in:
parent
c3bbc28146
commit
60b9319335
@ -1,8 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2001/01/18 16:10:02 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2001/04/14 02:49:45 naddy Exp $
|
||||
|
||||
COMMENT= little X dock.app network monitor
|
||||
|
||||
DISTNAME= wmnet-1.06
|
||||
CATEGORIES= net x11 x11/windowmaker
|
||||
NEED_VERSION= 1.348
|
||||
NEED_VERSION= 1.364
|
||||
HOMEPAGE= http://www.digitalkaos.net/linux/wmnet/
|
||||
MASTER_SITES= ${HOMEPAGE}download/
|
||||
|
||||
|
20
net/wmnet/patches/patch-getopt_c
Normal file
20
net/wmnet/patches/patch-getopt_c
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-getopt_c,v 1.1 2001/04/14 02:49:45 naddy Exp $
|
||||
--- getopt.c.orig Thu Apr 5 20:14:42 2001
|
||||
+++ getopt.c Thu Apr 5 20:15:49 2001
|
||||
@@ -696,7 +696,7 @@ _getopt_internal (argc, argv, optstring,
|
||||
optarg = nameend + 1;
|
||||
else
|
||||
{
|
||||
- if (opterr)
|
||||
+ if (opterr) {
|
||||
if (argv[optind - 1][1] == '-')
|
||||
/* --option */
|
||||
fprintf (stderr,
|
||||
@@ -707,6 +707,7 @@ _getopt_internal (argc, argv, optstring,
|
||||
fprintf (stderr,
|
||||
_("%s: option `%c%s' doesn't allow an argument\n"),
|
||||
argv[0], argv[optind - 1][0], pfound->name);
|
||||
+ }
|
||||
|
||||
nextchar += strlen (nextchar);
|
||||
|
@ -1 +0,0 @@
|
||||
little X dock.app network monitor
|
Loading…
Reference in New Issue
Block a user