WebDAV: allow compilation on older distros (Ubuntu Hardy) II
One more location with icalcomponent_new_from_string(char *) has to be hacked to compile.
This commit is contained in:
parent
9b70dc2e03
commit
10f95123a7
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ SubSyncSource::SubItemResult CalDAVSource::insertSubItem(const std::string &luid
|
|||
|
||||
// parse new event
|
||||
boost::shared_ptr<Event> newEvent(new Event);
|
||||
newEvent->m_calendar.set(icalcomponent_new_from_string(item.c_str()),
|
||||
newEvent->m_calendar.set(icalcomponent_new_from_string((char *)item.c_str()), // hack for old libical
|
||||
"parsing iCalendar 2.0");
|
||||
struct icaltimetype lastmodtime = icaltime_null_time();
|
||||
icalcomponent *firstcomp = NULL;
|
||||
|
|
Loading…
Reference in a new issue