summaryrefslogtreecommitdiff
path: root/mail/newmail
diff options
context:
space:
mode:
authorkristerw <kristerw>2004-05-23 23:35:12 +0000
committerkristerw <kristerw>2004-05-23 23:35:12 +0000
commit516859eadae4f309f1dd5790518871268910595b (patch)
tree79ad21487aacc32d10c904d1be3140730fec715e /mail/newmail
parent74fb83c806b0c83263095a58620a9ae721852525 (diff)
downloadpkgsrc-516859eadae4f309f1dd5790518871268910595b.tar.gz
Make this package compile when using gcc 3.3.
Diffstat (limited to 'mail/newmail')
-rw-r--r--mail/newmail/distinfo3
-rw-r--r--mail/newmail/patches/patch-aa37
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);