packages/net/dansguardian/patches/002-2.10-uclibc++.patch
florian 58d00bd584 Update dansguardian to 2.10.0.2 (stable), includes patches from #4281
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 15:41:27 +00:00

12 lines
495 B
Diff

--- dansguardian-2.10/src/IPList.cpp.orig 2008-11-19 07:45:54 +0000
+++ dansguardian-2.10/src/IPList.cpp 2008-11-19 07:46:44 +0000
@@ -81,7 +81,7 @@
hostnames.reset(new std::deque<String>);
hostnames->push_back(*host);
}
- for (std::deque<String>::const_iterator i = hostnames->begin(); i != hostnames->end(); ++i)
+ for (std::deque<String>::iterator i = hostnames->begin(); i != hostnames->end(); ++i)
{
if (std::binary_search(hostlist.begin(), hostlist.end(), *i))
{