Date: Wed, 2 Oct 2013 23:09:55 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329127 - head/irc/ezbounce/files Message-ID: <201310022309.r92N9tcL056497@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310022309.r92N9tcL056497>