From owner-svn-ports-branches@FreeBSD.ORG Fri Jan 16 18:44:55 2015 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C94C23C; Fri, 16 Jan 2015 18:44:55 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 5F6A1D33; Fri, 16 Jan 2015 18:44:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0GIitJ8020568; Fri, 16 Jan 2015 18:44:55 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0GIitfN020567; Fri, 16 Jan 2015 18:44:55 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201501161844.t0GIitfN020567@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Fri, 16 Jan 2015 18:44:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r377197 - branches/2015Q1/java/cacao/files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 18:44:55 -0000 Author: jkim Date: Fri Jan 16 18:44:54 2015 New Revision: 377197 URL: https://svnweb.freebsd.org/changeset/ports/377197 QAT: https://qat.redports.org/buildarchive/r377197/ Log: MFH: r377060 Fix build with libc++ on 10.0. Approved by: portmgr (antoine) Modified: branches/2015Q1/java/cacao/files/patch-src__vm__properties.cpp Directory Properties: branches/2015Q1/ (props changed) Modified: branches/2015Q1/java/cacao/files/patch-src__vm__properties.cpp ============================================================================== --- branches/2015Q1/java/cacao/files/patch-src__vm__properties.cpp Fri Jan 16 18:09:55 2015 (r377196) +++ branches/2015Q1/java/cacao/files/patch-src__vm__properties.cpp Fri Jan 16 18:44:54 2015 (r377197) @@ -1,6 +1,6 @@ ---- src/vm/properties.cpp.orig 2012-09-03 12:10:00.000000000 -0400 -+++ src/vm/properties.cpp 2012-10-04 14:34:15.000000000 -0400 -@@ -74,7 +74,11 @@ +--- src/vm/properties.cpp.orig 2013-06-28 09:22:27.000000000 -0400 ++++ src/vm/properties.cpp 2015-01-14 19:18:40.000000000 -0500 +@@ -76,7 +76,11 @@ p = MNEW(char, 4096); @@ -12,3 +12,39 @@ os::abort_errno("readlink failed"); /* We have a path like: +@@ -561,7 +565,7 @@ + void Properties::put(const char* key, const char* value) + { + // Try to find the key. +- std::map::iterator it = _properties.find(key); ++ std::map::iterator it = _properties.find(key); + + // The key is already in the map. + if (it != _properties.end()) { +@@ -590,7 +594,7 @@ + const char* Properties::get(const char* key) + { + // Try to find the key. +- std::map::iterator it = _properties.find(key); ++ std::map::iterator it = _properties.find(key); + + // The key is not in the map. + if (it == _properties.end()) +@@ -624,7 +628,7 @@ + return; + + // Iterator over all properties. +- for (std::map::iterator it = _properties.begin(); it != _properties.end(); it++) { ++ for (std::map::iterator it = _properties.begin(); it != _properties.end(); it++) { + // Put into the Java system properties. + java_handle_t* key = JavaString::from_utf8(it->first); + java_handle_t* value = JavaString::from_utf8(it->second); +@@ -641,7 +645,7 @@ + #if !defined(NDEBUG) + void Properties::dump() + { +- for (std::map::iterator it = _properties.begin(); it != _properties.end(); it++) { ++ for (std::map::iterator it = _properties.begin(); it != _properties.end(); it++) { + log_println("[Properties::dump: key=%s, value=%s]", it->first, it->second); + } + }