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