From jsa@wickedmachine.net  Mon Jun 22 06:21:59 2009
Return-Path: <jsa@wickedmachine.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 26534106566C;
	Mon, 22 Jun 2009 06:21:59 +0000 (UTC)
	(envelope-from jsa@wickedmachine.net)
Received: from shaitan.wickedmachine.net (tn-67-232-80-18.dhcp.embarqhsd.net [67.232.80.18])
	by mx1.freebsd.org (Postfix) with ESMTP id D98C28FC0A;
	Mon, 22 Jun 2009 06:21:58 +0000 (UTC)
	(envelope-from jsa@wickedmachine.net)
Received: from shaitan.wickedmachine.net (localhost [127.0.0.1])
	by shaitan.wickedmachine.net (8.14.3/8.14.3) with ESMTP id n5M6Lx4W067046;
	Mon, 22 Jun 2009 02:21:59 -0400 (EDT)
	(envelope-from jsa@wickedmachine.net)
Message-Id: <1245651719.66955@shaitan.wickedmachine.net>
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: Fix MySpaceIM for net-im/libpurple 
X-Send-Pr-Version: gtk-send-pr 0.4.9 
X-GNATS-Notify:

>Number:         135908
>Category:       ports
>Synopsis:       Fix MySpaceIM for net-im/libpurple
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    marcus
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 22 06:30:00 UTC 2009
>Closed-Date:    Sun Jul 05 00:19:59 UTC 2009
>Last-Modified:  Sun Jul 05 00:19:59 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->marcus 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 22 06:30:13 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135908 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Jul 5 00:19:36 UTC 2009 
State-Changed-Why:  
This is fixed in 2.5.8. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=135908 
>Unformatted:
