diff options
author | marcus <marcus@FreeBSD.org> | 2005-03-20 03:27:12 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-03-20 03:27:12 +0800 |
commit | 75a71a938c3b6feedbe1d42ae7e74dc862f5c1d7 (patch) | |
tree | 1dc2bebacb170cb6143a21fceac3f4750b3c8bbc /mail | |
parent | be910d67e136b03e04e37ddcfb2c090218389baf (diff) | |
download | freebsd-ports-gnome-75a71a938c3b6feedbe1d42ae7e74dc862f5c1d7.tar.gz freebsd-ports-gnome-75a71a938c3b6feedbe1d42ae7e74dc862f5c1d7.tar.zst freebsd-ports-gnome-75a71a938c3b6feedbe1d42ae7e74dc862f5c1d7.zip |
Fix build on 4.X.
PR: 79013
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/evolution-exchange/files/patch-calendar_e-cal-backend-exchange.c | 19 | ||||
-rw-r--r-- | mail/ximian-connector/files/patch-calendar_e-cal-backend-exchange.c | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/mail/evolution-exchange/files/patch-calendar_e-cal-backend-exchange.c b/mail/evolution-exchange/files/patch-calendar_e-cal-backend-exchange.c new file mode 100644 index 000000000000..466d30410c31 --- /dev/null +++ b/mail/evolution-exchange/files/patch-calendar_e-cal-backend-exchange.c @@ -0,0 +1,19 @@ +--- calendar/e-cal-backend-exchange.c.orig Sat Mar 19 14:24:33 2005 ++++ calendar/e-cal-backend-exchange.c Sat Mar 19 14:25:06 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); diff --git a/mail/ximian-connector/files/patch-calendar_e-cal-backend-exchange.c b/mail/ximian-connector/files/patch-calendar_e-cal-backend-exchange.c new file mode 100644 index 000000000000..466d30410c31 --- /dev/null +++ b/mail/ximian-connector/files/patch-calendar_e-cal-backend-exchange.c @@ -0,0 +1,19 @@ +--- calendar/e-cal-backend-exchange.c.orig Sat Mar 19 14:24:33 2005 ++++ calendar/e-cal-backend-exchange.c Sat Mar 19 14:25:06 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); |