Jorge Arellano Cid wrote:
On Tue, Oct 21, 2008 at 07:39:51PM +0200, Ben de Groot wrote:
% grep inbuf_t work/dillo-2.0/config.log #define inbuf_t const char
It looks like the test in configure.in detects iconv() in a strange way.
Indeed, something seems to go wrong there. My glibc version is 2.8_p20080602.
What's inconv's signature in your OS?
extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, size_t *__restrict __inbytesleft, char **__restrict __outbuf, size_t *__restrict __outbytesleft);
Just for testing try setting [char] instead of [const char] in configure.in:348.
In our bugtracker another patch was proposed, which makes dillo compile for me. https://bugs.gentoo.org/show_bug.cgi?id=242774 --- src/form.cc 2008-10-21 21:02:31 +0000 +++ src/form.cc 2008-10-21 21:02:53 +0000 @@ -1240,8 +1240,9 @@ int rc = 0; Dstr *output; const int bufsize = 128; - inbuf_t *inPtr; - char *buffer, *outPtr; + //inbuf_t *inPtr; + //char *buffer, *outPtr; + char *buffer, *outPtr, *inPtr; size_t inLeft, outRoom; bool bad_chars = false; Does this patch look good to you? It looks like this issue doesn't pop up with glibc-2.6.1, which is our stable version. But obviously, I'd like it to work on our testing branch as well. Cheers, -- Ben de Groot Gentoo Linux developer (lxde, media, desktop-misc) Gentoo Linux Release Engineering PR liaison __________________________________________________ yngwin@gentoo.org http://ben.liveforge.org/ irc://chat.freenode.net/#gentoo-media irc://irc.oftc.net/#lxde __________________________________________________