From c8b1301487ba3128840fd4109197d90cc40360d5 Mon Sep 17 00:00:00 2001 From: rh Date: Sat, 21 May 2005 03:31:26 +0000 Subject: Make this compile on Darwin. --- mail/cyrus-imapd/distinfo | 6 +++++- mail/cyrus-imapd/patches/patch-aa | 19 +++++++++++++++++++ mail/cyrus-imapd/patches/patch-ab | 15 +++++++++++++++ mail/cyrus-imapd/patches/patch-ac | 15 +++++++++++++++ 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 mail/cyrus-imapd/patches/patch-aa create mode 100644 mail/cyrus-imapd/patches/patch-ab create mode 100644 mail/cyrus-imapd/patches/patch-ac (limited to 'mail') diff --git a/mail/cyrus-imapd/distinfo b/mail/cyrus-imapd/distinfo index 71130331b8d..96bac5f00a6 100644 --- a/mail/cyrus-imapd/distinfo +++ b/mail/cyrus-imapd/distinfo @@ -1,8 +1,12 @@ -$NetBSD: distinfo,v 1.16 2005/03/02 21:42:48 wiz Exp $ +$NetBSD: distinfo,v 1.17 2005/05/21 03:31:26 rh Exp $ SHA1 (cyrus-imapd-2.2.12.tar.gz) = 08adc5dfde1288c0d9e7de44e7ea4d17a7940d06 RMD160 (cyrus-imapd-2.2.12.tar.gz) = ff4a95e519ea066ed9b21b515b18bdacaf0d1852 Size (cyrus-imapd-2.2.12.tar.gz) = 1961161 bytes +SHA1 (patch-aa) = 6e3349b3d20231022838a1534cade189a8d89586 +SHA1 (patch-ab) = 986fa32dd6acc088779791b7bdabde5981b61bc1 +SHA1 (patch-ac) = 48557e05ef0d82413da18dd46d9c4baf802a771d +SHA1 (patch-ad) = e99638a062b2695514c6859788eac3fd02cf5c1d SHA1 (patch-af) = 3bd6217395161e84b0191c24fbe93ad28d6291f0 SHA1 (patch-al) = 6fa8967eb97f7cfdb93de86a45aa90ab3a1bd129 SHA1 (patch-am) = 0804e6fa6694ed820861b740ac1bead29b3eeb4b diff --git a/mail/cyrus-imapd/patches/patch-aa b/mail/cyrus-imapd/patches/patch-aa new file mode 100644 index 00000000000..7465e9e3495 --- /dev/null +++ b/mail/cyrus-imapd/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.4 2005/05/21 03:31:26 rh Exp $ + +--- tools/config2header.orig 2004-06-23 05:02:31.000000000 +1000 ++++ tools/config2header +@@ -77,6 +77,14 @@ while ($#ARGV >= 0) { + + my $use_gcc_extension = ($CC and $CC eq 'gcc'); + ++# ++# Skip any CC options such as -pipe ++# The last two parameters are the .c and .h files ++# ++while ($#ARGV > 1) { ++ shift @ARGV; ++} ++ + die "wrong number of arguments" if ($#ARGV != 1); + my ($cfile, $hfile) = @ARGV; + diff --git a/mail/cyrus-imapd/patches/patch-ab b/mail/cyrus-imapd/patches/patch-ab new file mode 100644 index 00000000000..5ac87069254 --- /dev/null +++ b/mail/cyrus-imapd/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.4 2005/05/21 03:31:26 rh Exp $ + +--- sieve/sievec.c.orig 2004-03-12 01:23:20.000000000 +1000 ++++ sieve/sievec.c +@@ -63,6 +63,10 @@ + #include + #include + ++#ifdef __APPLE__ ++struct et_list *_et_list = NULL; ++#endif ++ + /* config.c stuff */ + const int config_need_data = 0; + diff --git a/mail/cyrus-imapd/patches/patch-ac b/mail/cyrus-imapd/patches/patch-ac new file mode 100644 index 00000000000..08272ca1995 --- /dev/null +++ b/mail/cyrus-imapd/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.4 2005/05/21 03:31:26 rh Exp $ + +--- sieve/sieved.c.orig 2004-06-30 06:05:32.000000000 +1000 ++++ sieve/sieved.c +@@ -42,6 +42,10 @@ OF OR IN CONNECTION WITH THE USE OR PERF + + #include "map.h" + ++#ifdef __APPLE__ ++struct et_list *_et_list = NULL; ++#endif ++ + void dump2(bytecode_input_t *d, int len); + int dump2_test(bytecode_input_t * d, int i); + -- cgit v1.2.3