summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd/patches/patch-cc
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-19 11:50:56 +0000
committerrillig <rillig@pkgsrc.org>2005-11-19 11:50:56 +0000
commitf34e908967ec37344aaf475428a3ada2d08fa507 (patch)
tree1bbd5c59a58ae6a9a0433af325904c1c458a9cc7 /mail/cyrus-imapd/patches/patch-cc
parentc192f7204c4c088d390c5b69fd15aebe7bbe0b9f (diff)
downloadpkgsrc-f34e908967ec37344aaf475428a3ada2d08fa507.tar.gz
Added the patch from PR 32114 to make this package build with SunPro on
Solaris. Fixes PR 32114.
Diffstat (limited to 'mail/cyrus-imapd/patches/patch-cc')
-rw-r--r--mail/cyrus-imapd/patches/patch-cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/cyrus-imapd/patches/patch-cc b/mail/cyrus-imapd/patches/patch-cc
new file mode 100644
index 00000000000..90f8bca9f50
--- /dev/null
+++ b/mail/cyrus-imapd/patches/patch-cc
@@ -0,0 +1,15 @@
+$NetBSD: patch-cc,v 1.1 2005/11/19 11:50:56 rillig Exp $
+
+The SunPro compiler does not like non-static inline functions.
+
+--- sieve/bc_emit.c.orig Wed Oct 22 20:03:24 2003
++++ sieve/bc_emit.c Sat Nov 19 12:48:06 2005
+@@ -45,7 +45,7 @@ OF OR IN CONNECTION WITH THE USE OR PERF
+ void dump(bytecode_info_t *d);
+ #endif
+
+-inline int write_int (int fd, int x)
++static inline int write_int (int fd, int x)
+ {
+ int y=htonl(x);
+ return (write(fd, &y, sizeof(int)));