diff options
author | marcus <marcus@FreeBSD.org> | 2003-08-13 08:32:34 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-08-13 08:32:34 +0800 |
commit | 2234b2d2e507c986714f635572a2d819ce6d9324 (patch) | |
tree | 0fdbf51cb1c5faaa8ba0acc4819c670f515643cb /net-im/gaim | |
parent | ac10e7a656af0d6ece634cb54346f78bc23f4f3a (diff) | |
download | freebsd-ports-gnome-2234b2d2e507c986714f635572a2d819ce6d9324.tar.gz freebsd-ports-gnome-2234b2d2e507c986714f635572a2d819ce6d9324.tar.zst freebsd-ports-gnome-2234b2d2e507c986714f635572a2d819ce6d9324.zip |
Fix a bug where certain IRC users will not be removed from the buddy list
when they part/are kicked off a channel.
PR: 55489
Submitted by: Alexander Nedotsukov <sasha@ortech.co.jp>
Diffstat (limited to 'net-im/gaim')
-rw-r--r-- | net-im/gaim/Makefile | 1 | ||||
-rw-r--r-- | net-im/gaim/files/patch-src::protocols::irc::irc.c | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile index 2d8941929734..b029da9c026f 100644 --- a/net-im/gaim/Makefile +++ b/net-im/gaim/Makefile @@ -6,6 +6,7 @@ PORTNAME= gaim PORTVERSION= 0.66 +PORTREVISION= 1 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/net-im/gaim/files/patch-src::protocols::irc::irc.c b/net-im/gaim/files/patch-src::protocols::irc::irc.c new file mode 100644 index 000000000000..0c972988bda3 --- /dev/null +++ b/net-im/gaim/files/patch-src::protocols::irc::irc.c @@ -0,0 +1,24 @@ +--- src/protocols/irc/irc.c.orig Thu Jul 17 22:55:23 2003 ++++ src/protocols/irc/irc.c Wed Aug 13 08:30:08 2003 +@@ -1153,7 +1153,9 @@ + if (*who == '+') + who++; + if (!gaim_utf8_strcasecmp(who, nick)) { +- gaim_chat_remove_user(chat, who, reason); ++ char *tmp = g_strdup(r->data); ++ gaim_chat_remove_user(chat, tmp, reason); ++ g_free(tmp); + break; + } + r = r->next; +@@ -1793,7 +1795,9 @@ + if (*who == '+') + who++; + if (!gaim_utf8_strcasecmp(who, nick)) { +- gaim_chat_remove_user(chat, who, reason); ++ char *tmp = g_strdup(r->data); ++ gaim_chat_remove_user(chat, tmp, reason); ++ g_free(tmp); + break; + } + r = r->next; |