aboutsummaryrefslogtreecommitdiff
path: root/irc/ezbounce-devel
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-18 23:19:46 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-18 23:19:46 +0000
commitb5d7cf3828bcb18fb349159bb5d61643349e7a52 (patch)
tree32935d36184d8eadc962e19de25939dc79dcf274 /irc/ezbounce-devel
parentc10f0c3bc602bf627844b8dfa25c55f215304cf5 (diff)
downloadports-b5d7cf3828bcb18fb349159bb5d61643349e7a52.tar.gz
ports-b5d7cf3828bcb18fb349159bb5d61643349e7a52.zip
Notes
Diffstat (limited to 'irc/ezbounce-devel')
-rw-r--r--irc/ezbounce-devel/Makefile1
-rw-r--r--irc/ezbounce-devel/files/patch-src-server.cpp20
2 files changed, 21 insertions, 0 deletions
diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile
index af857dd89186..9298d47cce67 100644
--- a/irc/ezbounce-devel/Makefile
+++ b/irc/ezbounce-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ezbounce
PORTVERSION= 1.02
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://druglord.freelsd.org/ezbounce/
diff --git a/irc/ezbounce-devel/files/patch-src-server.cpp b/irc/ezbounce-devel/files/patch-src-server.cpp
new file mode 100644
index 000000000000..8d9417a4fcf7
--- /dev/null
+++ b/irc/ezbounce-devel/files/patch-src-server.cpp
@@ -0,0 +1,20 @@
+--- src/server.cpp Sun May 5 17:53:00 2002
++++ src/server.cpp Mon Jul 22 04:27:26 2002
+@@ -204,7 +204,7 @@
+ if (now)
+ {
+ strcpy(buff, "Server terminating: ");
+- strncat(buff, reason, (sizeof buff) - strlen(buff) + 1);
++ strncat(buff, reason, (sizeof buff) - (strlen(buff) + 1));
+ conn::broadcast(&conns,buff);
+ ircproxy_save_prefs(users, pcfg.userfile);
+ kill_conns();
+@@ -213,7 +213,7 @@
+ }
+ terminate_request = 1;
+ strcpy(buff, "Terminate request: ");
+- strncat(buff, reason, (sizeof buff) - strlen(buff) + 1);
++ strncat(buff, reason, (sizeof buff) - (strlen(buff) + 1));
+ conn::broadcast(&conns,buff);
+ ircproxy_save_prefs(users, pcfg.userfile);
+ return 1;