summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2007-11-11 22:33:05 +0000
committervanilla <vanilla@FreeBSD.org>2007-11-11 22:33:05 +0000
commit77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2 (patch)
tree3f51c9ca0d8e0405efb0436c9221a6060c8f1c81 /irc
parent7cdfc2e521d8a85e2e8a662baed352047f2b4056 (diff)
downloadFreeBSD-ports-77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2.zip
FreeBSD-ports-77b4f2d64d991b4cf42bb55b9f8d01b648ba02a2.tar.gz
Fix coredump with silc-irssi-plugin.
PR: ports/117871 Submitted by: Wesley Shields <wxs.at.atarininja.org> Approved by: portmgr@ (linimon)
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi/Makefile1
-rw-r--r--irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 4e37bd4..689cf70 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -7,6 +7,7 @@
PORTNAME= irssi
PORTVERSION= 0.8.12
+PORTREVISION= 1
CATEGORIES?= irc
MASTER_SITES= http://mirror.irssi.org/
diff --git a/irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c b/irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c
new file mode 100644
index 0000000..8d8e409
--- /dev/null
+++ b/irc/irssi/files/patch-src_fe-common_irc_fe-irc-messages.c
@@ -0,0 +1,11 @@
+--- src/fe-common/irc/fe-irc-messages.c.orig Sat Oct 20 14:45:59 2007
++++ src/fe-common/irc/fe-irc-messages.c Sat Oct 20 14:46:21 2007
+@@ -44,7 +44,7 @@ static const char *skip_target(IRC_SERVER_REC *server,
+ const char *val, *chars;
+
+ /* Quick check */
+- if (server->prefix[(int)(unsigned char)*target] == 0)
++ if (server == NULL || server->prefix[(int)(unsigned char)*target] == 0)
+ return target;
+
+ /* Hack: for bahamut 1.4 which sends neither STATUSMSG nor
OpenPOWER on IntegriCloud