From owner-svn-ports-all@freebsd.org Wed Feb 1 20:22:16 2017 Return-Path: Delivered-To: svn-ports-all@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 19824CCC805; Wed, 1 Feb 2017 20:22:16 +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 D6496D0D; Wed, 1 Feb 2017 20:22:15 +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 v11KMEL9069108; Wed, 1 Feb 2017 20:22:14 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v11KMEr6069107; Wed, 1 Feb 2017 20:22:14 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702012022.v11KMEr6069107@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 20:22:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433098 - head/vietnamese/x-unikey/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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 20:22:16 -0000 Author: jbeich Date: Wed Feb 1 20:22:14 2017 New Revision: 433098 URL: https://svnweb.freebsd.org/changeset/ports/433098 Log: vietnamese/x-unikey: unbreak with libc++ 3.9 mactab.cpp:290:10: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char * pos = strchr(item, ':'); ^ ~~~~~~~~~~~~~~~~~ Reported by: pkg-fallout Added: head/vietnamese/x-unikey/files/ head/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp (contents, props changed) Added: head/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp Wed Feb 1 20:22:14 2017 (r433098) @@ -0,0 +1,11 @@ +--- src/ukengine/mactab.cpp.orig 2006-04-09 11:46:02 UTC ++++ src/ukengine/mactab.cpp +@@ -287,7 +287,7 @@ int CMacroTable::addItem(const char *ite + char key[MAX_MACRO_KEY_LEN]; + + // Parse the input item +- char * pos = strchr(item, ':'); ++ const char * pos = strchr(item, ':'); + if (pos == NULL) + return -1; + int keyLen = (int)(pos - item);