aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-01-15 06:23:32 +0800
committermdodd <mdodd@FreeBSD.org>2003-01-15 06:23:32 +0800
commit5db48e38c70ea6169fd74f45eda1850bee69f963 (patch)
tree0d0d07d90a1ffc9bbf6404a7f1dfd7e485f91a6a /irc
parent2b0366319d0a6b9cee25a720c10e10633181c99c (diff)
downloadfreebsd-ports-gnome-5db48e38c70ea6169fd74f45eda1850bee69f963.tar.gz
freebsd-ports-gnome-5db48e38c70ea6169fd74f45eda1850bee69f963.tar.zst
freebsd-ports-gnome-5db48e38c70ea6169fd74f45eda1850bee69f963.zip
This patch corrects the printing of DCC transfer stats.
Approved by: MAINTAINER
Diffstat (limited to 'irc')
-rw-r--r--irc/epic4/Makefile2
-rw-r--r--irc/epic4/files/patch-dcc.c11
-rw-r--r--irc/epic5/Makefile2
-rw-r--r--irc/epic5/files/patch-dcc.c11
4 files changed, 24 insertions, 2 deletions
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index 7a8b8460113a..75354db5f32f 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?= 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/epic4/files/patch-dcc.c b/irc/epic4/files/patch-dcc.c
new file mode 100644
index 000000000000..bb588180d6b7
--- /dev/null
+++ b/irc/epic4/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);
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);