(important) cyrus-imapd 2.4.16 released
Bron Gondwana
brong at fastmail.fm
Thu Apr 19 11:48:45 EDT 2012
On Thu, Apr 19, 2012 at 01:19:32PM +0100, Dennis Davis wrote:
> 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 :-(
stdint is used unprotected in other places in the code, so just
including it without the __OpenBSD__ would be fine.
Bron ( patching the code now )
More information about the Info-cyrus
mailing list