svn commit: r329127 - head/irc/ezbounce/files
John Marino
marino at FreeBSD.org
Wed Oct 2 23:09:56 UTC 2013
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;
+
More information about the svn-ports-all
mailing list