(important) cyrus-imapd 2.4.16 released

Dennis Davis D.H.Davis at bath.ac.uk
Thu Apr 19 08:19:32 EDT 2012


On Thu, 19 Apr 2012, Jeroen van Meeuwen wrote:

> From: Jeroen van Meeuwen <vanmeeuwen at kolabsys.com>
> To: cyrus-devel at lists.andrew.cmu.edu, info-cyrus at lists.andrew.cmu.edu
> Date: Thu, 19 Apr 2012 11:00:01
> Subject: (important) cyrus-imapd 2.4.16 released

...

> We are pleased to announce the release of Cyrus IMAPd 2.4.16.
> 
> This is a stable release in the 2.4.x series.

...

Got the following error when compiling this on OpenBSD5.0:

util.c: In function 'dir_hash_c':
util.c:284: error: 'UINT32_MAX' undeclared (first use in this function)
util.c:284: error: (Each undeclared identifier is reported only once
util.c:284: error: for each function it appears in.)
*** Error code 1

Quickly fixed by applying the following patch:


--- lib/util.c.orig     Thu Apr 19 10:39:51 2012
+++ lib/util.c  Thu Apr 19 12:56:31 2012
@@ -62,6 +62,10 @@
 #include <sys/socket.h>
 #include <errno.h>
 
+#ifdef __OpenBSD__
+#include <stdint.h>
+#endif /* __OpenBSD__ */
+
 #include "exitcodes.h"
 #include "util.h"
 #include "xmalloc.h"


Although I'm sure this isn't the preferred way to do it :-(
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis at bath.ac.uk               Phone: +44 1225 386101


More information about the Info-cyrus mailing list