Date: Tue, 12 Mar 2013 18:58:38 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313998 - head/news/pan/files Message-ID: <201303121858.r2CIwc1e092212@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Tue Mar 12 18:58:38 2013 New Revision: 313998 URL: http://svnweb.freebsd.org/changeset/ports/313998 Log: Fix fix compiler error by adding patch from upstream. PR: ports/176887 Submitted by: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Obtained from: pan upstream Added: head/news/pan/files/ head/news/pan/files/patch-pan_usenet-utils_mime-utils.cc (contents, props changed) Added: head/news/pan/files/patch-pan_usenet-utils_mime-utils.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/news/pan/files/patch-pan_usenet-utils_mime-utils.cc Tue Mar 12 18:58:38 2013 (r313998) @@ -0,0 +1,14 @@ +--- pan/usenet-utils/mime-utils.cc.orig 2013-03-12 18:24:13.000000000 +0000 ++++ pan/usenet-utils/mime-utils.cc 2013-03-12 18:25:19.000000000 +0000 +@@ -77,7 +77,11 @@ + outbuf = out + converted; + outleft = outlen - converted; + ++#if defined(__NetBSD__) || defined(__FreeBSD__) ++ converted = iconv (cd, &inbuf, &inleft, &outbuf, &outleft); ++#else + converted = iconv (cd, (char **) &inbuf, &inleft, &outbuf, &outleft); ++#endif + + if (converted != (size_t) -1 && errno == 0) { + /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303121858.r2CIwc1e092212>