aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2007-01-02 21:20:55 +0800
committeroliver <oliver@FreeBSD.org>2007-01-02 21:20:55 +0800
commit03dd79f291f4bed59b20c2bfd8eff320fe48f471 (patch)
tree75b9d8fde30750745915a36347f8c8e47abf0702 /mail
parenta73dc6172ea81956d0c85f44ab5d8940dd885112 (diff)
downloadfreebsd-ports-gnome-03dd79f291f4bed59b20c2bfd8eff320fe48f471.tar.gz
freebsd-ports-gnome-03dd79f291f4bed59b20c2bfd8eff320fe48f471.tar.zst
freebsd-ports-gnome-03dd79f291f4bed59b20c2bfd8eff320fe48f471.zip
fix build on FreeBSD 4
Noted by: Adi Pircalabu<apircalabu@bitdefender.com> PR: 107427
Diffstat (limited to 'mail')
-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);