Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 18:17:33 +0100
From:      Paul van der Zwan <paulz@vanderzwan.org>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Pan-0.139 won't compile
Message-ID:  <3D3AAC90-E883-431E-9772-14894EBEFC7C@vanderzwan.org>
In-Reply-To: <khlq3l$8l1$1@ger.gmane.org>
References:  <khlq3l$8l1$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12 Mar 2013, at 0:41 , Walter Hurry <walterhurry@gmail.com> wrote:

> Trying to upgrade /usr/ports/news/pan I get this:
> ___________________________________________________________________
> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*,=20=

> const char*, size_t, const char*)':
> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const=20
> char**'
> mime-utils.cc:80: error:   initializing argument 2 of 'size_t libiconv
> (void*, const char**, size_t*, char**, size_t*)'
> gmake[3]: *** [mime-utils.o] Error 1
> gmake[3]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan/
> usenet-utils'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/ports/news/pan/work/pan-0.139/pan'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/news/pan/work/pan-0.139'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
>=20
> Stop in /usr/ports/news/pan.
> *** [build] Error code 1
> ___________________________________________________________________
>=20
> What should I do next?

I ran into the same problem. I tried removing the cast on line 80 and =
now it compiles ( and seems to work, no crashes so far.)

	Paul





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D3AAC90-E883-431E-9772-14894EBEFC7C>