diff options
Diffstat (limited to 'gnome-extra/evolution-data-server/files/evolution-data-server-3.2.3-caldav-cannot-modify.patch')
-rw-r--r-- | gnome-extra/evolution-data-server/files/evolution-data-server-3.2.3-caldav-cannot-modify.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.2.3-caldav-cannot-modify.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.2.3-caldav-cannot-modify.patch deleted file mode 100644 index 47a7ed8b1e0e..000000000000 --- a/gnome-extra/evolution-data-server/files/evolution-data-server-3.2.3-caldav-cannot-modify.patch +++ /dev/null @@ -1,35 +0,0 @@ -commit 830fa86226aa2c4fd0687aef605c93920888e3c4 -Author: Milan Crha <mcrha@redhat.com> -Date: Mon Jan 30 19:25:41 2012 +0100 - - 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; - } - |