I am able to build this on my FreeBSD 10.3-STABLE, with a few warnings:
gcc retry.c
gcc rewrite.c
gcc rfc2047.c
rfc2047.c: In function 'rfc2047_decode2':
rfc2047.c:260:24: warning: passing argument 2 of 'libiconv' from
incompatible pointer type
(void)iconv(icd, (ICONV_ARG2_TYPE)(&dptr), &dlen, CSS &outptr,
&outleft);
^
In file included from exim.h:522:0,
from rfc2047.c:27:
/usr/local/include/iconv.h:85:15: note: expected 'char **' but argument is
of type 'const char **'
extern size_t iconv (iconv_t cd, char* * inbuf, size_t *inbytesleft,
char* * outbuf, size_t *outbytesleft);
^
On two other servers, a FreeBSD 8.4-STABLE and a 9.3-STABLE, I had only
these two warnings:
gcc rfc2047.c
rfc2047.c: In function 'rfc2047_decode2':
rfc2047.c:260: warning: passing argument 2 of 'libiconv' from incompatible
pointer type
.....
gcc imap_utf7.c
imap_utf7.c: In function 'imap_utf7_encode':
imap_utf7.c:68: warning: passing argument 2 of 'libiconv' from incompatible
pointer type
My Local/Makefile is almost the same across the three servers..
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."