Date: Tue, 12 Mar 2013 19:56:12 +0000 (UTC) From: Walter Hurry <walterhurry@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Pan-0.139 won't compile Message-ID: <kho18s$tmq$1@ger.gmane.org> References: <khlq3l$8l1$1@ger.gmane.org> <3D3AAC90-E883-431E-9772-14894EBEFC7C@vanderzwan.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Mar 2013 18:17:33 +0100, Paul van der Zwan wrote: > 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*, >> 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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kho18s$tmq$1>