diff options
Diffstat (limited to 'gnome-extra/evolution-data-server/files/evolution-data-server-2.32.3-libical-0.48.patch')
-rw-r--r-- | gnome-extra/evolution-data-server/files/evolution-data-server-2.32.3-libical-0.48.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.32.3-libical-0.48.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.32.3-libical-0.48.patch new file mode 100644 index 000000000000..dd4e20b06a78 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/evolution-data-server-2.32.3-libical-0.48.patch @@ -0,0 +1,37 @@ +From 830fa86226aa2c4fd0687aef605c93920888e3c4 Mon Sep 17 00:00:00 2001 +From: Milan Crha <mcrha@redhat.com> +Date: Mon, 30 Jan 2012 18:25:41 +0000 +Subject: Bug #669003 - CalDAV: Cannot modify calendar object (libical 0.48) + +--- +diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c +index 694e64a..50cece5 100644 +--- a/calendar/backends/caldav/e-cal-backend-caldav.c ++++ b/calendar/backends/caldav/e-cal-backend-caldav.c +@@ -422,6 +422,24 @@ ecalcomp_get_etag (ECalComponent *comp) + + str = icomp_x_prop_get (icomp, X_E_CALDAV "ETAG"); + ++ /* libical 0.48 escapes quotes, thus unescape them */ ++ if (str && strchr (str, '\\')) { ++ gint ii, jj; ++ ++ for (ii = 0, jj = 0; str[ii]; ii++) { ++ if (str[ii] == '\\') { ++ ii++; ++ if (!str[ii]) ++ break; ++ } ++ ++ str[jj] = str[ii]; ++ jj++; ++ } ++ ++ str[jj] = 0; ++ } ++ + return str; + } + +-- +cgit v0.9.0.2 |