summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/patches
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd/patches')
-rw-r--r--mail/cyrus-imapd/patches/patch-aa19
-rw-r--r--mail/cyrus-imapd/patches/patch-ab13
-rw-r--r--mail/cyrus-imapd/patches/patch-ac17
-rw-r--r--mail/cyrus-imapd/patches/patch-ad13
-rw-r--r--mail/cyrus-imapd/patches/patch-ae30
-rw-r--r--mail/cyrus-imapd/patches/patch-af12
-rw-r--r--mail/cyrus-imapd/patches/patch-ag12
-rw-r--r--mail/cyrus-imapd/patches/patch-ah20
-rw-r--r--mail/cyrus-imapd/patches/patch-ai20
-rw-r--r--mail/cyrus-imapd/patches/patch-aj19
-rw-r--r--mail/cyrus-imapd/patches/patch-ak15
-rw-r--r--mail/cyrus-imapd/patches/patch-al32
-rw-r--r--mail/cyrus-imapd/patches/patch-am24
-rw-r--r--mail/cyrus-imapd/patches/patch-an13
-rw-r--r--mail/cyrus-imapd/patches/patch-ao15
-rw-r--r--mail/cyrus-imapd/patches/patch-ap35
-rw-r--r--mail/cyrus-imapd/patches/patch-ba14
-rw-r--r--mail/cyrus-imapd/patches/patch-bb14
-rw-r--r--mail/cyrus-imapd/patches/patch-bc14
19 files changed, 123 insertions, 228 deletions
diff --git a/mail/cyrus-imapd/patches/patch-aa b/mail/cyrus-imapd/patches/patch-aa
deleted file mode 100644
index 0a08763533c..00000000000
--- a/mail/cyrus-imapd/patches/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2001/09/18 21:56:30 skrll Exp $
-
---- doc/install-configure.html.orig Thu Jul 5 16:47:39 2001
-+++ doc/install-configure.html
-@@ -142,12 +142,12 @@
- </kbd></pre>
-
- <li>Change to the Cyrus user and use the tool
--"<tt>tools/mkimap</tt>" to create the rest of the directories
-+"<tt>mkimap</tt>" to create the rest of the directories
- (subdirectories of the directories you just created).
-
- <pre>
- <kbd> su cyrus
-- tools/mkimap
-+ mkimap
- exit
- </kbd>
- </pre>
diff --git a/mail/cyrus-imapd/patches/patch-ab b/mail/cyrus-imapd/patches/patch-ab
deleted file mode 100644
index b3c60127597..00000000000
--- a/mail/cyrus-imapd/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2001/09/18 21:56:30 skrll Exp $
-
---- imap/Makefile.in.orig Sat Jun 23 04:14:01 2001
-+++ imap/Makefile.in
-@@ -65,7 +65,7 @@
- CYRUS_GROUP=@cyrus_group@
-
- DEFS = @DEFS@ @LOCALDEFS@
--CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@
-+CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @CPPFLAGS@ @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@
- IMAP_LIBS = @IMAP_LIBS@
- SIEVE_LIBS = @SIEVE_LIBS@
- IMAP_COM_ERR_LIBS = @IMAP_COM_ERR_LIBS@
diff --git a/mail/cyrus-imapd/patches/patch-ac b/mail/cyrus-imapd/patches/patch-ac
deleted file mode 100644
index cc73b4928dd..00000000000
--- a/mail/cyrus-imapd/patches/patch-ac
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2001/09/18 21:56:30 skrll Exp $
-
---- imap/lmtpd.c.orig Mon May 21 19:21:47 2001
-+++ imap/lmtpd.c
-@@ -411,7 +411,12 @@
- }
- }
-
-+#ifdef __NetBSD__
-+#include <paths.h>
-+#define DEFAULT_SENDMAIL (_PATH_SENDMAIL)
-+#else
- #define DEFAULT_SENDMAIL ("/usr/lib/sendmail")
-+#endif
- #define DEFAULT_POSTMASTER ("postmaster")
-
- #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL))
diff --git a/mail/cyrus-imapd/patches/patch-ad b/mail/cyrus-imapd/patches/patch-ad
deleted file mode 100644
index 6b39b5b0b3b..00000000000
--- a/mail/cyrus-imapd/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2001/09/18 21:56:30 skrll Exp $
-
---- tools/mkimap.orig Wed Jan 24 21:26:51 2001
-+++ tools/mkimap
-@@ -74,7 +74,7 @@
- $conf = $1;
- print "i will configure directory $conf.\n";
- }
-- if (/^sieveuserhomedir:\s+(1|t|yes|on)/) {
-+ if (/^sieveusehomedir:\s+(1|t|yes|on)/) {
- $nosievedir = 1;
- print "you are storing sieve scripts in user's home directories.\n";
- }
diff --git a/mail/cyrus-imapd/patches/patch-ae b/mail/cyrus-imapd/patches/patch-ae
deleted file mode 100644
index b8d205885f4..00000000000
--- a/mail/cyrus-imapd/patches/patch-ae
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ae,v 1.4 2002/10/21 06:12:54 jlam Exp $
-
---- cmulocal/sasl.m4.orig Fri Jul 7 13:46:12 2000
-+++ cmulocal/sasl.m4
-@@ -54,6 +54,9 @@ AC_ARG_WITH(sasl,
-
- SASLFLAGS=""
- LIB_SASL=""
-+ AC_PATH_PROG(SASL_CONFIG, sasl-config, no)
-+
-+ if test "$SASL_CONFIG" = no; then
-
- cmu_saved_CPPFLAGS=$CPPFLAGS
- cmu_saved_LDFLAGS=$LDFLAGS
-@@ -82,6 +85,15 @@ AC_ARG_WITH(sasl,
- LIB_SASL=""
- SASLFLAGS=""
- fi
-+
-+ else # SASL_CONFIG
-+
-+ ac_cv_found_sasl=yes
-+ SASLFLAGS=`$SASL_CONFIG --cflags`
-+ LIB_SASL=`$SASL_CONFIG --libs`
-+
-+ fi
-+
- AC_SUBST(LIB_SASL)
- AC_SUBST(SASLFLAGS)
- ])
diff --git a/mail/cyrus-imapd/patches/patch-af b/mail/cyrus-imapd/patches/patch-af
new file mode 100644
index 00000000000..e95b89b4355
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.7 2005/03/02 21:42:48 wiz Exp $
+
+--- configure.orig Tue Nov 23 19:55:47 2004
++++ configure Sun Nov 28 14:34:29 2004
+@@ -13532,6 +13532,7 @@
+ EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
+ PERL_SUBDIRS="imap"
+ PERL="${with_perl}"
++ eval `${PERL} -V:cccdlflags`
+ PERL_CCCDLFLAGS="$cccdlflags"
+
+ fi
diff --git a/mail/cyrus-imapd/patches/patch-ag b/mail/cyrus-imapd/patches/patch-ag
deleted file mode 100644
index 661f1f6cb40..00000000000
--- a/mail/cyrus-imapd/patches/patch-ag
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ag,v 1.2 2001/09/18 21:56:31 skrll Exp $
-
---- master/master.c.orig Mon Jul 16 19:23:11 2001
-+++ master/master.c
-@@ -84,6 +84,7 @@
- #include <ucd-snmp/ucd-snmp-agent-includes.h>
-
- #include "cyrusMasterMIB.h"
-+int smux_listen_sd;
- #endif
-
- #include "masterconf.h"
diff --git a/mail/cyrus-imapd/patches/patch-ah b/mail/cyrus-imapd/patches/patch-ah
deleted file mode 100644
index 3b3ecb513cf..00000000000
--- a/mail/cyrus-imapd/patches/patch-ah
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2001/09/18 21:56:31 skrll Exp $
-
---- perl/sieve/Makefile.in.orig Tue Dec 26 23:07:25 2000
-+++ perl/sieve/Makefile.in
-@@ -63,6 +63,7 @@
-
- SASL_LIB=@LIB_SASL@
- SASL_INC=@SASLFLAGS@
-+EXTRA_INC=@CPPFLAGS@ @COM_ERR_CPPFLAGS@
- CC=@CC@
- PERL=@PERL@
-
-@@ -72,6 +73,7 @@
- (cd $$d; echo "### Making" all "in" `pwd`; \
- if [ -f Makefile.PL ]; then \
- SASL_LIB="$(SASL_LIB)" SASL_INC="$(SASL_INC)" CC="$(CC)" \
-+ EXTRA_INC="$(EXTRA_INC)" \
- $(PERL) Makefile.PL PREFIX=$(prefix); \
- fi; \
- $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all) || exit 1; \
diff --git a/mail/cyrus-imapd/patches/patch-ai b/mail/cyrus-imapd/patches/patch-ai
deleted file mode 100644
index 9b85ad5847e..00000000000
--- a/mail/cyrus-imapd/patches/patch-ai
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2001/09/18 21:57:17 skrll Exp $
-
---- perl/sieve/acap/Makefile.PL.orig Tue Jun 13 21:32:21 2000
-+++ perl/sieve/acap/Makefile.PL
-@@ -42,6 +42,8 @@
- my $SASL_INC = $ENV{SASL_INC};
- my $SASL_LIB = $ENV{SASL_LIB} || "-lsasl";
-
-+my $EXTRA_INC = $ENV{EXTRA_INC};
-+
- # See lib/ExtUtils/MakeMaker.pm for details of how to influence
- # the contents of the Makefile that is written.
- WriteMakefile(
-@@ -49,5 +51,5 @@
- 'VERSION_FROM' => 'acap.pm', # finds $VERSION
- 'LIBS' => ["-L../../../acap/ -lacap $SASL_LIB -L../../../lib/ -lcyrus -lssl -lcrypto"], # e.g., '-lm'
- 'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING'
-- 'INC' => "-I../../../acap/ $SASL_INC", # e.g., '-I/usr/include/other'
-+ 'INC' => "-I../../../acap/ $SASL_INC $EXTRA_INC", # e.g., '-I/usr/include/other'
- );
diff --git a/mail/cyrus-imapd/patches/patch-aj b/mail/cyrus-imapd/patches/patch-aj
deleted file mode 100644
index f1ba6076d1d..00000000000
--- a/mail/cyrus-imapd/patches/patch-aj
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-aj,v 1.1 2001/09/18 21:57:17 skrll Exp $
-
---- perl/sieve/acap/Makefile.in.orig Tue May 23 21:56:40 2000
-+++ perl/sieve/acap/Makefile.in
-@@ -49,7 +49,7 @@
- RANLIB = @RANLIB@
-
- DEFS = @DEFS@ -Dbool=char -DHAS_BOOL
--CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@ -I/usr/local/lib/perl5/5.004/CORE -I$(srcdir)/../../../acap
-+CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@ -I/usr/local/lib/perl5/5.004/CORE -I$(srcdir)/../../../acap @COM_ERR_CPPFLAGS@
- LIBS = @LIBS@ ../../../acap/libacapsieve.a ../../../acap/libacap.a
- IMAP_LIBS = @IMAP_LIBS@
- DEPLIBS = ../../../acap/libacapsieve.a ../../../acap/libacap.a @DEPLIBS@
-@@ -92,4 +92,4 @@
- depend:
- ${MAKEDEPEND} $(CPPFLAGS) $(DEFS) $(CFLAGS) *.c $(srcdir)/*.c 1> makedepend.log 2>&1
-
--# DO NOT DELETE THIS LINE -- make depend depends on it.
-+# DO NOT DELETE THIS LINE -- make depend depends on it.
diff --git a/mail/cyrus-imapd/patches/patch-ak b/mail/cyrus-imapd/patches/patch-ak
deleted file mode 100644
index 603669fa14f..00000000000
--- a/mail/cyrus-imapd/patches/patch-ak
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ak,v 1.3 2002/11/01 00:26:30 jlam Exp $
-
---- configure.in.orig Fri Jun 22 21:01:47 2001
-+++ configure.in
-@@ -180,6 +180,10 @@ dnl compile perl stuff
- EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
- dnl and compile perl/cyradm
- PERL_SUBDIRS="imap"
-+dnl add perl cccdlflags when building libraries
-+ eval `${PERL} -V:cccdlflags`
-+ PERL_CCCDLFLAGS="$cccdlflags"
-+ AC_SUBST(PERL_CCCDLFLAGS)
- fi
-
- dnl for timsieved
diff --git a/mail/cyrus-imapd/patches/patch-al b/mail/cyrus-imapd/patches/patch-al
index 8d892d5957e..5d34a762482 100644
--- a/mail/cyrus-imapd/patches/patch-al
+++ b/mail/cyrus-imapd/patches/patch-al
@@ -1,13 +1,25 @@
-$NetBSD: patch-al,v 1.1 2002/11/01 00:26:30 jlam Exp $
+$NetBSD: patch-al,v 1.2 2005/03/02 21:42:48 wiz Exp $
---- acap/Makefile.in.orig Thu Oct 31 19:16:25 2002
-+++ acap/Makefile.in
-@@ -53,7 +53,7 @@ DEFS = @DEFS@
- CPPFLAGS = @CPPFLAGS@ @SASLFLAGS@ -I. -I..
- LIBS = @LIBS@
+--- imtest/imtest.c.orig Wed Aug 4 15:03:18 2004
++++ imtest/imtest.c Sun Nov 28 15:12:44 2004
+@@ -47,7 +47,9 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/ipc.h>
++#if !defined(__APPLE__)
+ #include <sys/msg.h>
++#endif
+ #include <sys/stat.h>
+ #include <fcntl.h>
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
- LDFLAGS = @LDFLAGS@
+@@ -71,6 +73,10 @@
+ #include <sys/file.h>
+ #include <netinet/in.h>
+ #include <netdb.h>
++
++#ifdef HAVE_SYS_PARAM_H
++#include <sys/param.h>
++#endif
- SHELL = /bin/sh
+ #include <sasl/sasl.h>
+ #include <sasl/saslutil.h>
diff --git a/mail/cyrus-imapd/patches/patch-am b/mail/cyrus-imapd/patches/patch-am
index 26d9e6dd73c..555047a2f62 100644
--- a/mail/cyrus-imapd/patches/patch-am
+++ b/mail/cyrus-imapd/patches/patch-am
@@ -1,13 +1,13 @@
-$NetBSD: patch-am,v 1.1 2002/11/01 00:26:30 jlam Exp $
+$NetBSD: patch-am,v 1.2 2005/03/02 21:42:48 wiz Exp $
---- lib/Makefile.in.orig Tue Aug 22 22:47:57 2000
-+++ lib/Makefile.in
-@@ -58,7 +58,7 @@ DEFS = @DEFS@
- CPPFLAGS = -I.. @CPPFLAGS@ @SASLFLAGS@
- LIBS = @LIBS@
-
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
- LDFLAGS = @LDFLAGS@
-
- SHELL = /bin/sh
+--- configure.in.orig Mon Nov 22 22:27:07 2004
++++ configure.in Sun Nov 28 14:36:32 2004
+@@ -944,7 +944,7 @@
+ dnl add perl cccdlflags when building libraries -- this ensures that the
+ dnl libraries will be compiled as PIC if perl requires PIC objects
+ dnl -- this is needed on NetBSD, but seems to cause problems on atleast Solaris --
+-dnl eval `${PERL} -V:cccdlflags`
++ eval `${PERL} -V:cccdlflags`
+ PERL_CCCDLFLAGS="$cccdlflags"
+ AC_SUBST(PERL_CCCDLFLAGS)
+ fi
diff --git a/mail/cyrus-imapd/patches/patch-an b/mail/cyrus-imapd/patches/patch-an
deleted file mode 100644
index 0b105b6f7f9..00000000000
--- a/mail/cyrus-imapd/patches/patch-an
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-an,v 1.1 2002/11/01 00:26:30 jlam Exp $
-
---- sieve/Makefile.in.orig Thu Mar 8 20:35:41 2001
-+++ sieve/Makefile.in
-@@ -35,7 +35,7 @@ COMPILE_ET = @COMPILE_ET@
-
- DEFS = @DEFS@
- CPPFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@
--CFLAGS = @CFLAGS@
-+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
- LDFLAGS = @LDFLAGS@
-
- MAKEDEPEND = @MAKEDEPEND@
diff --git a/mail/cyrus-imapd/patches/patch-ao b/mail/cyrus-imapd/patches/patch-ao
deleted file mode 100644
index be0b0f7f859..00000000000
--- a/mail/cyrus-imapd/patches/patch-ao
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ao,v 1.2 2002/12/17 09:27:13 tron Exp $
-
---- perl/sieve/lib/Makefile.in.orig Mon Dec 18 05:53:42 2000
-+++ perl/sieve/lib/Makefile.in
-@@ -54,8 +54,8 @@ LIBS = ../../../lib/libcyrus.a @LIB_SASL
- IMAP_LIBS = @IMAP_LIBS@
- DEPLIBS = ../../../lib/libcyrus.a @DEPLIBS@
-
--CFLAGS = -g
--LDFLAGS = -g @LDFLAGS@
-+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@
-+LDFLAGS = @LDFLAGS@
-
- SHELL = /bin/sh
- MAKEDEPEND = @MAKEDEPEND@
diff --git a/mail/cyrus-imapd/patches/patch-ap b/mail/cyrus-imapd/patches/patch-ap
new file mode 100644
index 00000000000..688c004d7df
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-ap
@@ -0,0 +1,35 @@
+$NetBSD: patch-ap,v 1.1 2005/03/02 21:42:48 wiz Exp $
+
+--- imap/Makefile.in.orig 2004-05-28 14:03:02.000000000 -0400
++++ imap/Makefile.in
+@@ -185,6 +185,9 @@ mupdate_err.c: mupdate_err.et
+
+ mupdate_err.h: mupdate_err.c
+
++mutex_pthread.o: mutex_pthread.c
++ $(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $(PTHREAD_CFLAGS) $<
++
+ ### Services
+ idled: idled.o mutex_fake.o libimap.a $(DEPLIBS)
+ $(CC) $(LDFLAGS) -o idled \
+@@ -241,16 +244,16 @@ proxyd.pure: $(PROXYDOBJS) mutex_fake.o
+
+ mupdate: mupdate.o mupdate-slave.o mupdate-client.o mutex_pthread.o tls.o \
+ libimap.a $(DEPLIBS)
+- $(CC) $(LDFLAGS) -o mupdate \
++ $(CC) $(LDFLAGS) $(PTHREAD_LDFLAGS) -o mupdate \
+ $(SERVICETHREAD) mupdate.o mupdate-slave.o mupdate-client.o \
+ mutex_pthread.o tls.o libimap.a \
+- $(DEPLIBS) $(LIBS) $(LIB_WRAP) -lpthread
++ $(DEPLIBS) $(LIBS) $(LIB_WRAP) $(PTHREAD_LIBS)
+
+ mupdate.pure: mupdate.o mupdate-slave.o mupdate-client.o mutex_pthread.o \
+ libimap.a $(DEPLIBS)
+- $(PURIFY) $(PUREOPT) $(CC) $(LDFLAGS) -o mupdate.pure \
++ $(PURIFY) $(PUREOPT) $(CC) $(LDFLAGS) $(PTHREAD_LDFLAGS) -o mupdate.pure \
+ $(SERVICETHREAD) mupdate.o mupdate-slave.o mupdate-client.o \
+- mutex_pthread.o libimap.a $(DEPLIBS) $(LIBS) $(LIB_WRAP) -lpthread
++ mutex_pthread.o libimap.a $(DEPLIBS) $(LIBS) $(LIB_WRAP) $(PTHREAD_LIBS)
+
+ pop3d: pop3d.o backend.o tls.o mutex_fake.o libimap.a $(DEPLIBS) $(SERVICE)
+ $(CC) $(LDFLAGS) -o pop3d pop3d.o backend.o tls.o $(SERVICE) \
diff --git a/mail/cyrus-imapd/patches/patch-ba b/mail/cyrus-imapd/patches/patch-ba
new file mode 100644
index 00000000000..c186b7f9453
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-ba
@@ -0,0 +1,14 @@
+$NetBSD: patch-ba,v 1.1 2005/03/02 21:42:48 wiz Exp $
+
+--- imap/mboxlist.c.orig Sun Nov 28 15:04:44 2004
++++ imap/mboxlist.c Sun Nov 28 15:05:06 2004
+@@ -60,7 +60,9 @@
+ #include <syslog.h>
+
+ #include <sys/ipc.h>
++#if !defined(__APPLE__)
+ #include <sys/msg.h>
++#endif
+
+ #include "acl.h"
+ #include "annotate.h"
diff --git a/mail/cyrus-imapd/patches/patch-bb b/mail/cyrus-imapd/patches/patch-bb
new file mode 100644
index 00000000000..f584833af94
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-bb
@@ -0,0 +1,14 @@
+$NetBSD: patch-bb,v 1.1 2005/03/02 21:42:48 wiz Exp $
+
+--- imap/cvt_cyrusdb.c.orig Sun Nov 28 15:09:29 2004
++++ imap/cvt_cyrusdb.c Sun Nov 28 15:10:33 2004
+@@ -60,7 +60,9 @@
+ #include <syslog.h>
+
+ #include <sys/ipc.h>
++#if !defined(__APPLE__)
+ #include <sys/msg.h>
++#endif
+
+ #include "acl.h"
+ #include "assert.h"
diff --git a/mail/cyrus-imapd/patches/patch-bc b/mail/cyrus-imapd/patches/patch-bc
new file mode 100644
index 00000000000..b940c725d53
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-bc
@@ -0,0 +1,14 @@
+$NetBSD: patch-bc,v 1.1 2005/03/02 21:42:48 wiz Exp $
+
+--- perl/sieve/lib/request.c.orig Sun Nov 28 15:14:46 2004
++++ perl/sieve/lib/request.c Sun Nov 28 15:14:47 2004
+@@ -51,7 +51,9 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/ipc.h>
++#if !defined(__APPLE__)
+ #include <sys/msg.h>
++#endif
+
+ #include <stdlib.h>
+ #include <stdio.h>