aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-04 18:11:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-04 18:11:54 +0000
commit6da2259dda24a1becfedab364a4a592c64946658 (patch)
tree8bebd69f37dd397bb1cdf8e5726e8ac523003b91 /irc
parent4a9bd5d0e8795ae5208988817b92f5a74db09c48 (diff)
downloadports-6da2259dda24a1becfedab364a4a592c64946658.tar.gz
ports-6da2259dda24a1becfedab364a4a592c64946658.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/dircproxy-devel/Makefile1
-rw-r--r--irc/dircproxy-devel/files/patch-src_irc_server.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/irc/dircproxy-devel/Makefile b/irc/dircproxy-devel/Makefile
index a2dbfcaeb561..b1cce5e2280a 100644
--- a/irc/dircproxy-devel/Makefile
+++ b/irc/dircproxy-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dircproxy
PORTVERSION= 1.2.0.b2
+PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://dircproxy.securiweb.net/pub/1.2/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-beta/g}
diff --git a/irc/dircproxy-devel/files/patch-src_irc_server.c b/irc/dircproxy-devel/files/patch-src_irc_server.c
new file mode 100644
index 000000000000..b9454cd0b88a
--- /dev/null
+++ b/irc/dircproxy-devel/files/patch-src_irc_server.c
@@ -0,0 +1,11 @@
+--- src/irc_server.c.orig 2007-11-04 13:13:26.000000000 +0100
++++ src/irc_server.c 2007-11-04 13:13:47.000000000 +0100
+@@ -1155,7 +1155,7 @@
+
+ if (!strcmp(cmsg.cmd, "ACTION")) {
+ irclog_log(p, IRC_LOG_ACTION, logdest, msg.src.orig,
+- "%s", cmsg.paramstarts[0]);
++ "%s", (cmsg.paramstarts != NULL) ? cmsg.paramstarts[0]: "none");
+
+ } else if (!strcmp(cmsg.cmd, "DCC")
+ && p->conn_class->dcc_proxy_incoming) {