On Tue, 12 Mar 2013 18:17:33 +0100, Paul van der Zwan wrote: > On 12 Mar 2013, at 0:41 , Walter Hurry <walterhu...@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.)
Yes that works, thanks. Thanks also to Lowell Gilbert for his assistance, and to those concerned with identifying the patch (so quickly, too). http://www.freebsd.org/cgi/query-pr.cgi?pr=176887 Good work all round! _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"