View | Details | Raw Unified | Return to bug 250740 | Differences between
and this patch

Collapse All | Expand All

(-)mail/cclient/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	cclient
4
PORTNAME=	cclient
5
PORTVERSION=	2007f
5
PORTVERSION=	2007f
6
PORTREVISION=	4
6
PORTREVISION=	5
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	mail devel
8
CATEGORIES=	mail devel
9
MASTER_SITES=	ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
9
MASTER_SITES=	ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
(-)mail/cclient/files/patch-src_c-client_c-client.h (+26 lines)
Line 0 Link Here
1
--- src/c-client/c-client.h.orig	2011-07-23 00:20:18 UTC
2
+++ src/c-client/c-client.h
3
@@ -39,7 +39,23 @@ extern "C" {
4
 #endif
5
 
6
 #include "mail.h"		/* primary interfaces */
7
+
8
+#ifdef __cplusplus		/* undo hacks before including OS headers */
9
+#undef private
10
+#undef and
11
+#undef or
12
+#undef not
13
+#endif
14
+
15
 #include "osdep.h"		/* OS-dependent routines */
16
+
17
+#ifdef __cplusplus		/* redo hacks after including OS headers */
18
+#define private cclientPrivate
19
+#define and cclientAnd
20
+#define or cclientOr
21
+#define not cclientNot
22
+#endif
23
+
24
 #include "rfc822.h"		/* RFC822 and MIME routines */
25
 #include "smtp.h"		/* SMTP sending routines */
26
 #include "nntp.h"		/* NNTP sending routines */

Return to bug 250740