summaryrefslogtreecommitdiff
path: root/irc/epic5
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-01-14 22:23:32 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-01-14 22:23:32 +0000
commit6a8ee6053b2ea067f6e750597b5c5141a94fb2cf (patch)
treee377a7dfdf7a93196a4f0a9db2f7b8d9b30ea640 /irc/epic5
parentFix build on CURRENT (diff)
This patch corrects the printing of DCC transfer stats.
Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=73146
Diffstat (limited to 'irc/epic5')
-rw-r--r--irc/epic5/Makefile2
-rw-r--r--irc/epic5/files/patch-dcc.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile
index 7a8b8460113a..75354db5f32f 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?= 1
+PORTREVISION?= 2
CATEGORIES?= irc ipv6
MASTER_SITES= ftp://ftp.epicsol.org/pub/epic/%SUBDIR%/ \
ftp://ftp.magenet.com/pub/epic/%SUBDIR%/ \
diff --git a/irc/epic5/files/patch-dcc.c b/irc/epic5/files/patch-dcc.c
new file mode 100644
index 000000000000..bb588180d6b7
--- /dev/null
+++ b/irc/epic5/files/patch-dcc.c
@@ -0,0 +1,11 @@
+--- source/dcc.c.orig Mon May 6 03:36:21 2002
++++ source/dcc.c Mon May 6 03:36:44 2002
+@@ -1366,7 +1366,7 @@
+ /*
+ * Figure out something sane for the xfer speed.
+ */
+- if (Client->bytes_sent)
++ if (act_sent)
+ {
+ strlcpy(speed, calc_speed(act_sent,
+ Client->starttime.tv_sec, time(NULL)), 9);