Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2009 02:21:59 -0400
From:      "Joseph S. Atkinson" <jsa@wickedmachine.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        kwm@FreeBSD.org
Subject:   ports/135908: Fix MySpaceIM for net-im/libpurple 
Message-ID:  <1245651719.66955@shaitan.wickedmachine.net>
Resent-Message-ID: <200906220630.n5M6U1ps068189@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135908
>Category:       ports
>Synopsis:       Fix MySpaceIM for net-im/libpurple
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 22 06:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:


System: FreeBSD 8.0-CURRENT #0: Sun Jun 21 20:07:10 EDT 2009
    jsa@shaitan.wickedmachine.net:/tmp/usr/src/sys/SHAITAN



>Description:


There's a error that causes the myspace protocol to hang when a user has no friends.

This fixes their technical problem, but will do nothing for their social one.

Obtained from the official pidgin repo here:

http://developer.pidgin.im/viewmtn/revision/diff/e9a74776399c7ddf335397e3602c809b60cb3864/with/8806e5fba5cdb38ef9be6799e7e829dc2a762a69/libpurple/protocols/myspace/myspace.c


>How-To-Repeat:





>Fix:


Just add this to net-im/libpurple/files

--- patch-libpurple__protocols__myspace__myspace.c begins here ---
#
#
# patch "libpurple/protocols/myspace/myspace.c"
#  from [9891cd24a970ca416cb5be9d107b1e82fea993f5]
#    to [e5821975e39bf9ff06fb52000310468e2ec5c1a2]
#
============================================================
--- libpurple/protocols/myspace/myspace.c	9891cd24a970ca416cb5be9d107b1e82fea993f5
+++ libpurple/protocols/myspace/myspace.c	e5821975e39bf9ff06fb52000310468e2ec5c1a2
@@ -1118,10 +1118,6 @@ msim_got_contact_list(MsimSession *sessi
 	guint buddy_count;
 
 	body = msim_msg_get_dictionary(reply, "body");
-	if (!body) {
-		/* No friends. Not an error. */
-		return;
-	}
 
 	buddy_count = 0;
 
--- patch-libpurple__protocols__myspace__myspace.c ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1245651719.66955>