diff --git a/evolution-data-server-1.12.3-caldav-mime-type-parsing.patch b/evolution-data-server-1.12.3-caldav-mime-type-parsing.patch new file mode 100644 index 0000000..a380c78 --- /dev/null +++ b/evolution-data-server-1.12.3-caldav-mime-type-parsing.patch @@ -0,0 +1,12 @@ +diff -up evolution-data-server-1.12.3/calendar/backends/caldav/e-cal-backend-caldav.c.caldav-mime-type-parsing evolution-data-server-1.12.3/calendar/backends/caldav/e-cal-backend-caldav.c +--- evolution-data-server-1.12.3/calendar/backends/caldav/e-cal-backend-caldav.c.caldav-mime-type-parsing 2008-07-10 07:55:01.000000000 -0400 ++++ evolution-data-server-1.12.3/calendar/backends/caldav/e-cal-backend-caldav.c 2008-07-10 07:55:34.000000000 -0400 +@@ -1208,7 +1208,7 @@ caldav_server_get_object (ECalBackendCal + + hdr = soup_message_get_header (message->response_headers, "Content-Type"); + +- if (hdr == NULL || g_ascii_strcasecmp (hdr, "text/calendar")) { ++ if (hdr == NULL || g_ascii_strncasecmp (hdr, "text/calendar", 13)) { + result = GNOME_Evolution_Calendar_InvalidObject; + g_object_unref (message); + g_warning ("Object to fetch not of type text/calendar"); diff --git a/evolution-data-server.spec b/evolution-data-server.spec index 2159b2f..09a82be 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -27,7 +27,7 @@ Name: evolution-data-server Version: 1.12.3 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPL Group: System Environment/Libraries Summary: Backend data server for Evolution @@ -74,6 +74,9 @@ Patch22: evolution-data-server-1.12.3-efolder-leak.patch # RH bug #440455 Patch23: evolution-data-server-1.12.3-large-files.patch +# RH bug #451230 / GNOME #514487 +Patch24: evolution-data-server-1.12.3-caldav-mime-type-parsing.patch + ### Dependencies ### Requires: GConf2 @@ -166,6 +169,7 @@ evolution-data-server. %patch21 -p1 -b .e2k-context-fba %patch22 -p1 -b .efolder-leak %patch23 -p1 -b .large_files +%patch24 -p1 -b .caldav-mime-type-parsing gtkdocize @@ -400,6 +404,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/libexchange-storage-%{eds_api_version}.pc %changelog +* Thu Jul 10 2008 Matthew Barnes - 1.12.3-6.fc8 +- Add patch for RH bug #451230 (CalDAV MIME type detection). + * Fri Apr 04 2008 Milan Crha - 1.12.3-5.fc8 - Add patch for RH bug #440455 (Large file support for local stores).