From owner-svn-ports-all@FreeBSD.ORG Wed Oct 2 23:09:55 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DFA9D7F8; Wed, 2 Oct 2013 23:09:55 +0000 (UTC) (envelope-from marino@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CD68F212C; Wed, 2 Oct 2013 23:09:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r92N9tSY056498; Wed, 2 Oct 2013 23:09:55 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r92N9tcL056497; Wed, 2 Oct 2013 23:09:55 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201310022309.r92N9tcL056497@svn.freebsd.org> From: John Marino Date: Wed, 2 Oct 2013 23:09:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329127 - head/irc/ezbounce/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.14 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, 02 Oct 2013 23:09:56 -0000 Author: marino Date: Wed Oct 2 23:09:55 2013 New Revision: 329127 URL: http://svnweb.freebsd.org/changeset/ports/329127 Log: irc/ezbounce: Fix c++ error caught by gcc 4.7 The same variable "e" was defined as a loop argument and then again inside the loop as a diferrent type. This renames the loop argument to avoid the redeclaration errors. Approved by: portmgr (bapt, implicit) Added: head/irc/ezbounce/files/patch-src_irc_flood.cc (contents, props changed) Added: head/irc/ezbounce/files/patch-src_irc_flood.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/ezbounce/files/patch-src_irc_flood.cc Wed Oct 2 23:09:55 2013 (r329127) @@ -0,0 +1,13 @@ +--- src/irc/flood.cc.orig 2008-07-01 02:53:36.000000000 +0000 ++++ src/irc/flood.cc +@@ -204,8 +204,8 @@ void flood_protector::clear_expired(time + const seconds_t &max = *std::max_element(vals, vals+n) + 1; + + for (nick_hash_t::const_iterator i = nick_hash.begin(), +- e = nick_hash.end(); +- i != e; ++ ef = nick_hash.end(); ++ i != ef; + ++i) { + flood_entry& e = *i->second; +