ports/79013: builing mail/ximian-connector fails

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Sat Mar 19 15:00:11 UTC 2005


>Number:         79013
>Category:       ports
>Synopsis:       builing mail/ximian-connector fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 19 15:00:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 4.11-STABLE FreeBSD 4.11-STABLE #16: Fri Feb 11 18:13:24 JST 2005 root at polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building mail/ximian-connector fails on FreeBSD 4-STABLE.
	
>How-To-Repeat:
	always when "make build".
	
>Fix:
	I think this is caused by the declaration of a variable
	in the midth of a function.
	This problem may not occur if using gcc34, or on some Linux systems.
	Applying next patch to the distributed file may solve this problem:
--- calendar/e-cal-backend-exchange.c.orig  Tue Mar 15 15:13:08 2005
+++ calendar/e-cal-backend-exchange.c       Sat Mar 19 23:37:22 2005
@@ -1432,6 +1432,7 @@
        e_cal_component_get_uid (comp, &uid);
        e_cal_component_get_attachment_list (comp, &attach_list);
        for (l = attach_list; l ; l = l->next){
+               char *mime_type;
                if (!strncmp ((char *)l->data, "file://", 7)) {
                        fname = (char *)(l->data) + strlen ("file://");
                        filename = g_strrstr (fname, "/") + 1;
@@ -1461,7 +1462,7 @@
                camel_data_wrapper_construct_from_stream (wrapper, stream);
                camel_object_unref (stream);

-               char *mime_type = gnome_vfs_get_mime_type (dest_url + strlen ("file://"));
+               mime_type = gnome_vfs_get_mime_type (dest_url + strlen ("file://"));
                type = camel_content_type_decode (mime_type);
                camel_data_wrapper_set_mime_type_field (wrapper, type);
                camel_content_type_unref (type);

	Whether this should be changed in distribution or on ports, i don't know.
	


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



More information about the freebsd-ports-bugs mailing list