On Mon, 2008-07-21 at 10:14 +0100, Chris Wakelin wrote:
- zlib plugin supports now bzip2 also.
This breaks for me on Solaris 8 and gcc 3.3.2
In file included from istream-bzlib.c:8: /usr/include/bzlib.h:170: error: parse error before "FILE" /usr/include/bzlib.h:198: error: parse error before "FILE"
This should help: http://hg.dovecot.org/dovecot-1.1/rev/b6ab2e6835e4
In file included from istream-bzlib.c:19: istream-zlib.c: In function
i_stream_zlib_close': istream-zlib.c:38: warning: implicit declaration of function
BZ2_bzclose'
Well, these then..
and similar for line 198. Solaris 10/gcc 3.4.3 seems OK so perhaps the Solaris 8 bzip2 library is too old (appears to be "bzip2/libbzip2 version 0.9.0c")?
Yes, I guess they didn't have those BZ2 prefixes. Probably not worth the trouble to support the old library, so: http://hg.dovecot.org/dovecot-1.1/rev/d46b9e8dcf13