diff options
author | Joshua Kinard <kumba@gentoo.org> | 2003-10-02 15:09:47 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2003-10-02 15:09:47 +0000 |
commit | 49703d6598ada802b209e7f31bb26a7411471c02 (patch) | |
tree | 33c298037c958cc92c68e75bf4bded6a89b5b1d0 /net-mail/qmail-autoresponder/files | |
parent | Added a patch which fixes a gcc-3.3 multi-line string issue; Closes Bug #30137 (diff) | |
download | gentoo-2-49703d6598ada802b209e7f31bb26a7411471c02.tar.gz gentoo-2-49703d6598ada802b209e7f31bb26a7411471c02.tar.bz2 gentoo-2-49703d6598ada802b209e7f31bb26a7411471c02.zip |
Added a patch which fixes a gcc-3.3 multi-line string issue; Closes Bug #30137
Diffstat (limited to 'net-mail/qmail-autoresponder/files')
-rw-r--r-- | net-mail/qmail-autoresponder/files/qmail-autoresponder-0.96.1-gcc33-multiline-string-fix.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.96.1-gcc33-multiline-string-fix.patch b/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.96.1-gcc33-multiline-string-fix.patch new file mode 100644 index 000000000000..4f96e81ed6cb --- /dev/null +++ b/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.96.1-gcc33-multiline-string-fix.patch @@ -0,0 +1,35 @@ +diff -ur qmail-autoresponder-0.96.1/main.c qmail-autoresponder-0.96.1-gentoo/main.c +--- qmail-autoresponder-0.96.1/main.c 2003-10-02 17:56:40.000000000 +1200 ++++ qmail-autoresponder-0.96.1-gentoo/main.c 2003-10-02 17:58:48.000000000 +1200 +@@ -244,18 +244,18 @@ + } + + static const char* usage_str = +-"usage: %s [-cqDNT] [-n NUM] [-s STR] [-t TIME] %s +- -c Copy message into response +- -n NUM Set the maximum number of replies (defaults to 1) +- -s STR Add the subject to the autoresponse, prefixed by STR +- -t TIME Set the time interval, in seconds (defaults to 1 hour) +- -q Don't show error messages +- -D Don't remove old response records +- -N Don't send, just send autoresponse to standard output +- If more than NUM messages are received from the same sender +- within TIME seconds of each other, no response is sent. +- This program must be run by qmail. +-%s"; ++"usage: %s [-cqDNT] [-n NUM] [-s STR] [-t TIME] %s\n" ++" -c Copy message into response\n" ++" -n NUM Set the maximum number of replies (defaults to 1)\n" ++" -s STR Add the subject to the autoresponse, prefixed by STR\n" ++" -t TIME Set the time interval, in seconds (defaults to 1 hour)\n" ++" -q Don't show error messages\n" ++" -D Don't remove old response records\n" ++" -N Don't send, just send autoresponse to standard output\n" ++" If more than NUM messages are received from the same sender\n" ++" within TIME seconds of each other, no response is sent.\n" ++" This program must be run by qmail.\n" ++"%s"; + + void usage(const char* msg) + { + |