diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-05-23 23:35:12 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-05-23 23:35:12 +0000 |
commit | 0bdb7253566dc1e36a9a377ef9671d79332c9ce7 (patch) | |
tree | 79ad21487aacc32d10c904d1be3140730fec715e /mail/newmail | |
parent | 6e8f676783e80d5004357873cec81d74fd8fff28 (diff) | |
download | pkgsrc-0bdb7253566dc1e36a9a377ef9671d79332c9ce7.tar.gz |
Make this package compile when using gcc 3.3.
Diffstat (limited to 'mail/newmail')
-rw-r--r-- | mail/newmail/distinfo | 3 | ||||
-rw-r--r-- | mail/newmail/patches/patch-aa | 37 |
2 files changed, 39 insertions, 1 deletions
diff --git a/mail/newmail/distinfo b/mail/newmail/distinfo index 3664db761ec..f3a298545ec 100644 --- a/mail/newmail/distinfo +++ b/mail/newmail/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2001/11/21 18:27:18 nra Exp $ +$NetBSD: distinfo,v 1.2 2004/05/23 23:35:12 kristerw Exp $ SHA1 (newmail-1.0.1.tar.gz) = 031387e2ba10e5e4ba801dab25d86fce3b55e02c Size (newmail-1.0.1.tar.gz) = 3476 bytes +SHA1 (patch-aa) = a0937e803e029fa53351a18cad47a0f05a85e4a0 diff --git a/mail/newmail/patches/patch-aa b/mail/newmail/patches/patch-aa new file mode 100644 index 00000000000..3508bae8240 --- /dev/null +++ b/mail/newmail/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1 2004/05/23 23:35:12 kristerw Exp $ + +--- newmail.c.orig 2004-05-24 01:29:15.000000000 +0200 ++++ newmail.c 2004-05-24 01:32:01.000000000 +0200 +@@ -148,19 +148,19 @@ + + static void usage() { + +- fprintf(stderr,"usage: newmail [-deirv] directory|file directory|file ... +- +-where: +- d: Prints messages when you do not have new mail +- e: Exits with 0 on no new mail, 1 on new mail, > 1 on error +- (normally exits with a value from sysexits(3)). May not be used +- with -d or -i. +- i: Prints a message for each mailbox that has new mail (and those +- that don't if -d is also used) +- r: Warns if it finds a non regular file +- v: Print version number and exit +- +-directory|file are, respectively, directories to look in for mailboxes ++ fprintf(stderr,"usage: newmail [-deirv] directory|file directory|file ...\n\ ++\n\ ++where:\n\ ++ d: Prints messages when you do not have new mail\n\ ++ e: Exits with 0 on no new mail, 1 on new mail, > 1 on error\n\ ++ (normally exits with a value from sysexits(3)). May not be used\n\ ++ with -d or -i.\n\ ++ i: Prints a message for each mailbox that has new mail (and those\n\ ++ that don't if -d is also used)\n\ ++ r: Warns if it finds a non regular file\n\ ++ v: Print version number and exit\n\ ++ \n\ ++directory|file are, respectively, directories to look in for mailboxes\n\ + and mailboxes.\n"); + + exit(EX_USAGE); |