diff options
author | marcus <marcus@FreeBSD.org> | 2003-08-13 00:32:34 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-08-13 00:32:34 +0000 |
commit | 2234b2d2e507c986714f635572a2d819ce6d9324 (patch) | |
tree | 0fdbf51cb1c5faaa8ba0acc4819c670f515643cb | |
parent | ac10e7a656af0d6ece634cb54346f78bc23f4f3a (diff) | |
download | FreeBSD-ports-2234b2d2e507c986714f635572a2d819ce6d9324.zip FreeBSD-ports-2234b2d2e507c986714f635572a2d819ce6d9324.tar.gz |
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>
-rw-r--r-- | net-im/gaim/Makefile | 1 | ||||
-rw-r--r-- | net-im/gaim/files/patch-src::protocols::irc::irc.c | 24 | ||||
-rw-r--r-- | net/gaim/Makefile | 1 | ||||
-rw-r--r-- | net/gaim/files/patch-src::protocols::irc::irc.c | 24 |
4 files changed, 50 insertions, 0 deletions
diff --git a/net-im/gaim/Makefile b/net-im/gaim/Makefile index 2d89419..b029da9 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 0000000..0c97298 --- /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; diff --git a/net/gaim/Makefile b/net/gaim/Makefile index 2d89419..b029da9 100644 --- a/net/gaim/Makefile +++ b/net/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/gaim/files/patch-src::protocols::irc::irc.c b/net/gaim/files/patch-src::protocols::irc::irc.c new file mode 100644 index 0000000..0c97298 --- /dev/null +++ b/net/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; |