23 lines
796 B
Plaintext
23 lines
796 B
Plaintext
$OpenBSD: patch-scripts_mkderivedproperties_pl,v 1.2 2012/03/23 11:58:23 ajacoutot Exp $
|
|
|
|
fix for gcc-2.95
|
|
|
|
--- scripts/mkderivedproperties.pl.orig Tue Dec 13 18:08:14 2011
|
|
+++ scripts/mkderivedproperties.pl Fri Mar 23 12:41:17 2012
|
|
@@ -244,6 +244,7 @@ $type icalproperty_get_${lc}(const icalproperty* prop)
|
|
* it doesnot work automatically like in the other functions
|
|
* like icalproperty_get_dtstart().
|
|
*/
|
|
+ {
|
|
itt = icalvalue_get_datetime(icalproperty_get_value(prop));
|
|
param = icalproperty_get_first_parameter(prop, ICAL_TZID_PARAMETER);
|
|
if (param) {
|
|
@@ -251,6 +252,7 @@ $type icalproperty_get_${lc}(const icalproperty* prop)
|
|
icaltime_set_timezone(&itt, zone);
|
|
}
|
|
return itt;
|
|
+ }
|
|
#else
|
|
return icalvalue_get_datetime(icalproperty_get_value(prop));
|
|
#endif
|