Pan-0.139 won't compile

Paul van der Zwan paulz at vanderzwan.org
Tue Mar 12 17:17:42 UTC 2013


On 12 Mar 2013, at 0:41 , Walter Hurry <walterhurry at 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*, 
> const char*, size_t, const char*)':
> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const 
> 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
> 
> Stop in /usr/ports/news/pan.
> *** [build] Error code 1
> ___________________________________________________________________
> 
> 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




More information about the freebsd-questions mailing list