From mjl@luckie.org.nz  Thu Dec  1 22:29:43 2005
Return-Path: <mjl@luckie.org.nz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8004A16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Dec 2005 22:29:43 +0000 (GMT)
	(envelope-from mjl@luckie.org.nz)
Received: from grunt6.ihug.co.nz (grunt6.ihug.co.nz [203.109.254.46])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C9E4A43D5C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Dec 2005 22:29:40 +0000 (GMT)
	(envelope-from mjl@luckie.org.nz)
Received: from 203-173-154-140.bliink.ihug.co.nz (lycra.luckie.org.nz) [203.173.154.140] 
	by grunt6.ihug.co.nz with esmtp (Exim 3.35 #1 (Debian))
	id 1Ehwvq-0004T8-00; Fri, 02 Dec 2005 11:29:38 +1300
Received: from mjl by lycra.luckie.org.nz with local (Exim 4.60 (FreeBSD))
	(envelope-from <mjl@luckie.org.nz>)
	id 1Ehwvo-000GPY-3d
	for FreeBSD-gnats-submit@freebsd.org; Fri, 02 Dec 2005 11:29:36 +1300
Message-Id: <E1Ehwvo-000GPY-3d@lycra.luckie.org.nz>
Date: Fri, 02 Dec 2005 11:29:36 +1300
From: Matthew Luckie <mjl@luckie.org.nz>
Reply-To: Matthew Luckie <mjl@luckie.org.nz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] databases/evolution-data-server unbreak on 4.X 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         89821
>Category:       ports
>Synopsis:       [patch] databases/evolution-data-server unbreak on 4.X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 01 22:30:08 GMT 2005
>Closed-Date:    Sun Dec 04 23:15:19 GMT 2005
>Last-Modified:  Sun Dec 04 23:15:19 GMT 2005
>Originator:     Matthew Luckie
>Release:        FreeBSD 4.11-RELEASE-p8 i386
>Organization:
University of Waikato
>Environment:
System: FreeBSD lycra.luckie.org.nz 4.11-RELEASE-p8 FreeBSD 4.11-RELEASE-p8 #1: Wed May 11 14:02:09 NZST 2005 root@lycra.luckie.org.nz:/files/freebsd_src/sys/compile/lycra i386
>Description:
camel-imap-utils.c: In function `imap_parse_list_response':
camel-imap-utils.c:384: syntax error before `char'
>How-To-Repeat:
Build on 4.X
>Fix:
put this into databases/evolution-data-server/files/patch-camel_providers_imap-camel-imap-utils.c
and remove the BROKEN= bit from the Makefile


--- camel/providers/imap/camel-imap-utils.c.orig        Fri Dec  2 10:51:08 2005
+++ camel/providers/imap/camel-imap-utils.c     Fri Dec  2 10:52:18 2005
@@ -371,7 +371,7 @@
                return FALSE;
        
        if (folder) {
-               char *astring;
+               char *astring, *mailbox;
                
                /* get the folder name */
                word = imap_next_word (word);
@@ -380,8 +380,6 @@
                        return FALSE;
 
                *folder = astring;
-
-               char *mailbox;
 
                mailbox = imap_mailbox_decode (astring, strlen (astring));
                g_free (astring);


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 1 22:36:13 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89821 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Dec 4 23:15:08 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

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