summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/ezbounce-devel/Makefile1
-rw-r--r--irc/ezbounce-devel/files/patch-src-server.cpp20
-rw-r--r--irc/ezbounce/Makefile1
-rw-r--r--irc/ezbounce/files/patch-src-server.cpp20
4 files changed, 42 insertions, 0 deletions
diff --git a/irc/ezbounce-devel/Makefile b/irc/ezbounce-devel/Makefile
index af857dd..9298d47 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 0000000..8d9417a
--- /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;
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile
index af857dd..9298d47 100644
--- a/irc/ezbounce/Makefile
+++ b/irc/ezbounce/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/files/patch-src-server.cpp b/irc/ezbounce/files/patch-src-server.cpp
new file mode 100644
index 0000000..8d9417a
--- /dev/null
+++ b/irc/ezbounce/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;
OpenPOWER on IntegriCloud