Blob Blame History Raw
diff -up syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp.eds-libecal-2.0-b syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp
--- syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp.eds-libecal-2.0-b	2019-11-11 09:27:55.148982120 +0100
+++ syncevolution-1.5.3/src/backends/evolution/EvolutionCalendarSource.cpp	2019-11-11 09:27:56.117982106 +0100
@@ -370,7 +370,11 @@ static void list_revisions(const GSList
     const GSList *l;
 
     for (l = objects; l; l = l->next) {
+#ifdef HAVE_LIBECAL_2_0
+        ICalComponent *icomp = (ICalComponent*)l->data;
+#else
         icalcomponent *icomp = (icalcomponent*)l->data;
+#endif
         EvolutionCalendarSource::ItemID id = EvolutionCalendarSource::getItemID(icomp);
         string luid = id.getLUID();
         string modTime = EvolutionCalendarSource::getItemModTime(icomp);