diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-24 01:25:04 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-24 01:25:04 +0000 |
commit | bf3be0b5fc1135d6665826e0ce44b58fc3546f9d (patch) | |
tree | 878ca23a59f4c097feb279d25b1ce15a8fb718fc /irc | |
parent | f404358fc4dbfebee87774eaf4e06ae69f47b7d4 (diff) | |
download | FreeBSD-ports-bf3be0b5fc1135d6665826e0ce44b58fc3546f9d.zip FreeBSD-ports-bf3be0b5fc1135d6665826e0ce44b58fc3546f9d.tar.gz |
Fix irc/bobot++ on -current
PR: ports/45657
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Diffstat (limited to 'irc')
-rw-r--r-- | irc/bobot++/files/patch-source::ChannelList.C | 11 | ||||
-rw-r--r-- | irc/bobot++/files/patch-source::ServerList.C | 11 | ||||
-rw-r--r-- | irc/bobot++/files/patch-source::TodoList.H | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/irc/bobot++/files/patch-source::ChannelList.C b/irc/bobot++/files/patch-source::ChannelList.C new file mode 100644 index 0000000..b472aae --- /dev/null +++ b/irc/bobot++/files/patch-source::ChannelList.C @@ -0,0 +1,11 @@ +--- source/ChannelList.C.orig Sat Nov 23 21:40:56 2002 ++++ source/ChannelList.C Sat Nov 23 21:41:04 2002 +@@ -41,7 +41,7 @@ + } + + void +-ChannelList::addChannel(ServerConnection *cnx, String name, String wantedModes = "") ++ChannelList::addChannel(ServerConnection *cnx, String name, String wantedModes) + { + name = name.toLower(); + list[name] = new Channel(cnx, name, wantedModes); diff --git a/irc/bobot++/files/patch-source::ServerList.C b/irc/bobot++/files/patch-source::ServerList.C new file mode 100644 index 0000000..d710d24 --- /dev/null +++ b/irc/bobot++/files/patch-source::ServerList.C @@ -0,0 +1,11 @@ +--- source/ServerList.C.orig Sat Nov 23 21:47:22 2002 ++++ source/ServerList.C Sat Nov 23 21:47:47 2002 +@@ -40,7 +40,7 @@ + void + ServerList::delServer(int n) + { +- v.erase(&v[n]); ++ v.erase(v.begin() + n); + } + + Server * diff --git a/irc/bobot++/files/patch-source::TodoList.H b/irc/bobot++/files/patch-source::TodoList.H new file mode 100644 index 0000000..a462a4d --- /dev/null +++ b/irc/bobot++/files/patch-source::TodoList.H @@ -0,0 +1,11 @@ +--- source/TodoList.H.orig Sat Nov 23 21:55:46 2002 ++++ source/TodoList.H Sat Nov 23 22:07:57 2002 +@@ -23,6 +23,8 @@ + + #include "String.H" + ++using namespace std; ++ + class TodoList; + + class TodoListItem { |