Date: Wed, 1 Feb 2017 12:29:48 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433020 - head/mail/bincimap/files Message-ID: <201702011229.v11CTmeH064454@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Feb 1 12:29:47 2017 New Revision: 433020 URL: https://svnweb.freebsd.org/changeset/ports/433020 Log: mail/bincimap: unbreak with libc++ 3.9 In file included from address.cc:39: ./convert.h:117:14: error: assigning to 'char *' from incompatible type 'const char *' if ((t = strchr(hexchars, c)) == 0) ^ ~~~~~~~~~~~~~~~~~~~ ./convert.h:122:14: error: assigning to 'char *' from incompatible type 'const char *' if ((t = strchr(hexchars, d)) == 0) ^ ~~~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Modified: head/mail/bincimap/files/patch-src_convert.h (contents, props changed) Modified: head/mail/bincimap/files/patch-src_convert.h ============================================================================== --- head/mail/bincimap/files/patch-src_convert.h Wed Feb 1 12:29:37 2017 (r433019) +++ head/mail/bincimap/files/patch-src_convert.h Wed Feb 1 12:29:47 2017 (r433020) @@ -9,3 +9,12 @@ #include <sys/stat.h> #include "address.h" +@@ -113,7 +113,7 @@ namespace Binc { + unsigned char c = *i; + unsigned char d = *(i + 1); + +- char *t; ++ const char *t; + if ((t = strchr(hexchars, c)) == 0) + return "out of range"; + n = (t - hexchars) << 4;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011229.v11CTmeH064454>