From owner-svn-ports-head@freebsd.org Wed Feb 1 12:29:49 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31B13CCAD67; Wed, 1 Feb 2017 12:29:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2F846B1; Wed, 1 Feb 2017 12:29:48 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v11CTmmS064455; Wed, 1 Feb 2017 12:29:48 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v11CTmeH064454; Wed, 1 Feb 2017 12:29:48 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702011229.v11CTmeH064454@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 12:29:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433020 - head/mail/bincimap/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 12:29:49 -0000 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 #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;