summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-12-15 02:54:01 +0000
committerume <ume@FreeBSD.org>2006-12-15 02:54:01 +0000
commit44153786e33a28ad0f5396b78ed75f4238ca1386 (patch)
tree022f1b610da4b487b58c1f79cb4d52734e26b075
parent4ad9efa2baa381c5af478d26e87fbe9cdce2ce73 (diff)
downloadFreeBSD-ports-44153786e33a28ad0f5396b78ed75f4238ca1386.zip
FreeBSD-ports-44153786e33a28ad0f5396b78ed75f4238ca1386.tar.gz
make it compilable with gcc 4.1.
Reported by: pointyhat via kris
-rw-r--r--mail/cyrus-imapd2/files/patch-imap::imapd.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/cyrus-imapd2/files/patch-imap::imapd.h b/mail/cyrus-imapd2/files/patch-imap::imapd.h
new file mode 100644
index 0000000..174bdc8
--- /dev/null
+++ b/mail/cyrus-imapd2/files/patch-imap::imapd.h
@@ -0,0 +1,22 @@
+Index: imap/imapd.h
+diff -u imap/imapd.h.orig imap/imapd.h
+--- imap/imapd.h.orig Fri Feb 14 05:15:25 2003
++++ imap/imapd.h Fri Dec 15 11:35:44 2006
+@@ -54,17 +54,8 @@
+ /* Authorization state for logged in userid */
+ extern struct auth_state *imapd_authstate;
+
+-/* True if user is an admin */
+-extern int imapd_userisadmin;
+-
+-/* Currently open mailbox */
+-extern struct mailbox *imapd_mailbox;
+-
+ /* Number of messages in currently open mailbox */
+ extern int imapd_exists;
+-
+-/* Name of client host */
+-extern char imapd_clienthost[];
+
+ /* List of strings, for fetch and search argument blocks */
+ struct strlist {
OpenPOWER on IntegriCloud