Pan-0.139 won't compile
walterhurry at gmail.com
Tue Mar 12 19:56:32 UTC 2013
On Tue, 12 Mar 2013 18:17:33 +0100, Paul van der Zwan wrote:
> 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
>> mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv
>> (void*, const char**, size_t*, char**, size_t*)'
>> gmake: *** [mime-utils.o] Error 1 gmake: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils'
>> gmake: *** [all-recursive] Error 1 gmake: Leaving directory
>> `/usr/ports/news/pan/work/pan-0.139/pan' gmake: *** [all-recursive]
>> Error 1 gmake: 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.)
Yes that works, thanks. Thanks also to Lowell Gilbert for his assistance,
and to those concerned with identifying the patch (so quickly, too).
Good work all round!
More information about the freebsd-questions