From af4deecfe916e8f90bc793bd7471fb058919ab8b Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 24 Nov 2002 01:25:04 +0000 Subject: Fix irc/bobot++ on -current PR: ports/45657 Submitted by: Stefan Farfeleder --- irc/bobot++/files/patch-source::ChannelList.C | 11 +++++++++++ irc/bobot++/files/patch-source::ServerList.C | 11 +++++++++++ irc/bobot++/files/patch-source::TodoList.H | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 irc/bobot++/files/patch-source::ChannelList.C create mode 100644 irc/bobot++/files/patch-source::ServerList.C create mode 100644 irc/bobot++/files/patch-source::TodoList.H (limited to 'irc/bobot++') diff --git a/irc/bobot++/files/patch-source::ChannelList.C b/irc/bobot++/files/patch-source::ChannelList.C new file mode 100644 index 000000000000..b472aaecb8d9 --- /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 000000000000..d710d24d1e83 --- /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 000000000000..a462a4df9a2d --- /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 { -- cgit v1.2.3