aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-06-01 09:29:13 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-06-01 09:29:13 +0000
commit1026ab92c2d580642b2c3dcd9142864aca1fd063 (patch)
tree7f610ee8f0a7e0683db7c341b179f02ed694ddf6 /irc
parent628d86fa4755fff48e5e638a633c63b6552313ed (diff)
downloadports-1026ab92c2d580642b2c3dcd9142864aca1fd063.tar.gz
ports-1026ab92c2d580642b2c3dcd9142864aca1fd063.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/epic4/Makefile2
-rw-r--r--irc/epic4/files/patch-ctcp.c12
-rw-r--r--irc/epic5/Makefile2
-rw-r--r--irc/epic5/files/patch-ctcp.c12
4 files changed, 26 insertions, 2 deletions
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index 38b837f9ea69..07431bd544e9 100644
--- a/irc/epic4/Makefile
+++ b/irc/epic4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= epic4
PORTVERSION= 1.0.1
# Make these variables overridable for slave ports
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= irc ipv6
MASTER_SITES= http://ftp.prbh.org/pub/epic/EPIC4-PRODUCTION/ \
ftp://ftp.icm.edu.pl/vol/rzm0/irc/EPIC/%SUBDIR%/ \
diff --git a/irc/epic4/files/patch-ctcp.c b/irc/epic4/files/patch-ctcp.c
new file mode 100644
index 000000000000..b8f4eef94264
--- /dev/null
+++ b/irc/epic4/files/patch-ctcp.c
@@ -0,0 +1,12 @@
+--- source/ctcp.c.orig Tue Dec 5 01:11:56 2000
++++ source/ctcp.c Tue May 27 16:55:04 2003
+@@ -897,7 +897,8 @@
+ int len;
+
+ /* Make sure that the final \001 doesnt get truncated */
+- len = IRCD_BUFFER_SIZE - (12 + strlen(to));
++ if ((len = IRCD_BUFFER_SIZE - (12 + strlen(to))) < 0)
++ return;
+ putbuf2 = alloca(len);
+
+ if (format)
diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile
index 38b837f9ea69..07431bd544e9 100644
--- a/irc/epic5/Makefile
+++ b/irc/epic5/Makefile
@@ -8,7 +8,7 @@
PORTNAME= epic4
PORTVERSION= 1.0.1
# Make these variables overridable for slave ports
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= irc ipv6
MASTER_SITES= http://ftp.prbh.org/pub/epic/EPIC4-PRODUCTION/ \
ftp://ftp.icm.edu.pl/vol/rzm0/irc/EPIC/%SUBDIR%/ \
diff --git a/irc/epic5/files/patch-ctcp.c b/irc/epic5/files/patch-ctcp.c
new file mode 100644
index 000000000000..b8f4eef94264
--- /dev/null
+++ b/irc/epic5/files/patch-ctcp.c
@@ -0,0 +1,12 @@
+--- source/ctcp.c.orig Tue Dec 5 01:11:56 2000
++++ source/ctcp.c Tue May 27 16:55:04 2003
+@@ -897,7 +897,8 @@
+ int len;
+
+ /* Make sure that the final \001 doesnt get truncated */
+- len = IRCD_BUFFER_SIZE - (12 + strlen(to));
++ if ((len = IRCD_BUFFER_SIZE - (12 + strlen(to))) < 0)
++ return;
+ putbuf2 = alloca(len);
+
+ if (format)