Re: (important) cyrus-imapd 2.4.16 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> > To: cyrus-devel@xxxxxxxxxxxxxxxxxxxx, info-cyrus@xxxxxxxxxxxxxxxxxxxx
> > 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 )
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux