aboutsummaryrefslogtreecommitdiff
path: root/mail/courier-imap
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2007-01-02 13:20:55 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2007-01-02 13:20:55 +0000
commit3e6a8b0c2be32050c39f6a88a8c166c0024ac469 (patch)
treea14f6eea9d26c68178b41bd5ae7086e7aeae6d3a /mail/courier-imap
parentb1e0e84b349b63429449bcceccf5d711ae32a855 (diff)
downloadports-3e6a8b0c2be32050c39f6a88a8c166c0024ac469.tar.gz
ports-3e6a8b0c2be32050c39f6a88a8c166c0024ac469.zip
fix build on FreeBSD 4
Noted by: Adi Pircalabu<apircalabu@bitdefender.com> PR: 107427
Notes
Notes: svn path=/head/; revision=181273
Diffstat (limited to 'mail/courier-imap')
-rw-r--r--mail/courier-imap/files/patch-maildir-maildirfilter.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/courier-imap/files/patch-maildir-maildirfilter.c b/mail/courier-imap/files/patch-maildir-maildirfilter.c
new file mode 100644
index 000000000000..e088d52f056a
--- /dev/null
+++ b/mail/courier-imap/files/patch-maildir-maildirfilter.c
@@ -0,0 +1,18 @@
+--- maildir/maildirfilter.c.orig Tue Jan 2 13:47:39 2007
++++ maildir/maildirfilter.c Tue Jan 2 13:48:14 2007
+@@ -81,6 +81,7 @@
+ int *errcode)
+ {
+ const char *c;
++struct maildirfilterrule *pom;
+
+ /*
+ ** Before creating a new rule, validate all input.
+@@ -101,7 +102,6 @@
+ /* rule name: may not already exist */
+ *errcode=MF_ERR_EXISTS;
+
+- struct maildirfilterrule *pom;
+ for (pom=r->first; pom->next; pom=pom->next) {
+ if (p!=pom && !strcmp(name, pom->rulename))
+ return (-1);