aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-24 01:25:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-24 01:25:04 +0000
commitaf4deecfe916e8f90bc793bd7471fb058919ab8b (patch)
treea9ec130adbcb88bb916ad0a7be36d4ac72375acc /irc
parent4a76985dbdb3e41723ed6ddb13f62a3a0b8373a9 (diff)
downloadports-af4deecfe916e8f90bc793bd7471fb058919ab8b.tar.gz
ports-af4deecfe916e8f90bc793bd7471fb058919ab8b.zip
Fix irc/bobot++ on -current
PR: ports/45657 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Notes
Notes: svn path=/head/; revision=70929
Diffstat (limited to 'irc')
-rw-r--r--irc/bobot++/files/patch-source::ChannelList.C11
-rw-r--r--irc/bobot++/files/patch-source::ServerList.C11
-rw-r--r--irc/bobot++/files/patch-source::TodoList.H11
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 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 {