diff options
author | marcus <marcus@FreeBSD.org> | 2005-03-20 19:31:11 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-03-20 19:31:11 +0000 |
commit | e4fa1de89f72b244bc9741a8ba3dee8ba86f6605 (patch) | |
tree | 3d80e56a19a3c77f7f8182c15dddad52fef8f539 /net-im | |
parent | 1e9f75c6fc091443729a9b030628f20e1061d768 (diff) | |
download | FreeBSD-ports-e4fa1de89f72b244bc9741a8ba3dee8ba86f6605.zip FreeBSD-ports-e4fa1de89f72b244bc9741a8ba3dee8ba86f6605.tar.gz |
Fix the build on 4.X.
Submitted by: Roman Shterenzon <ports@oven.org>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gaim/files/patch-src_protocols_yahoo_yahoochat.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-im/gaim/files/patch-src_protocols_yahoo_yahoochat.c b/net-im/gaim/files/patch-src_protocols_yahoo_yahoochat.c new file mode 100644 index 0000000..dd31950 --- /dev/null +++ b/net-im/gaim/files/patch-src_protocols_yahoo_yahoochat.c @@ -0,0 +1,26 @@ +--- src/protocols/yahoo/yahoochat.c.orig Wed Mar 16 05:14:01 2005 ++++ src/protocols/yahoo/yahoochat.c Sun Mar 20 15:59:34 2005 +@@ -342,8 +342,11 @@ + void yahoo_process_chat_join(GaimConnection *gc, struct yahoo_packet *pkt) + { + struct yahoo_data *yd = (struct yahoo_data *) gc->proto_data; ++ GaimAccount *account; + GaimConversation *c = NULL; ++ GaimConversationUiOps *ops; + GSList *l; ++ GList *roomies = NULL; + GList *members = NULL; + char *room = NULL; + char *topic = NULL; +@@ -443,10 +446,8 @@ + yahoo_chat_add_users(GAIM_CONV_CHAT(c), members); + } + +- GList *roomies=NULL; +- GaimConversationUiOps *ops; + ops = gaim_conversation_get_ui_ops(c); +- GaimAccount *account = gaim_connection_get_account(gc); ++ account = gaim_connection_get_account(gc); + for (l = account->deny; l != NULL; l = l->next) { + for (roomies = members; roomies; roomies = roomies->next) { + if (!gaim_utf8_strcasecmp((char *)l->data, roomies->data)) { |