diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-20 19:31:11 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-03-20 19:31:11 +0000 |
commit | c9028c818b390247e93b665621407603996a05e8 (patch) | |
tree | 6ff9edff08844e5446a17f1eb7cc6741cbe5cb54 /net-im/gaim | |
parent | d254587b0321555bad3ea2bcdfac3bb817b86b46 (diff) |
Fix the build on 4.X.
Submitted by: Roman Shterenzon <ports@oven.org>
Notes
Notes:
svn path=/head/; revision=131776
Diffstat (limited to 'net-im/gaim')
-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 000000000000..dd31950d658c --- /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)) { |