wok-next view orage/stuff/patches/libical3.patch @ rev 21012

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 13 17:31:50 2018 +0300 (2018-10-13)
parents
children
line source
1 Bug 1512302 - FTBFS: Orage does not build with libical 3
2 https://bugzilla.redhat.com/show_bug.cgi?id=1512302
4 --- a/src/ical-code.c
5 +++ b/src/ical-code.c
6 @@ -129,7 +129,6 @@ static struct icaltimetype ical_get_curr
7 && (strcmp(g_par.local_timezone, "floating") != 0))
8 ctime = icaltime_current_time_with_zone(local_icaltimezone);
9 else { / * use floating time * /
10 - ctime.is_utc = 0;
11 ctime.is_date = 0;
12 ctime.is_daylight = 0;
13 ctime.zone = NULL;
14 @@ -2579,7 +2578,6 @@ static struct icaltimetype count_first_a
15 * when counting alarm time. */
16 if (rel == ICAL_RELATED_START) {
17 per.stime.is_date = 0;
18 - per.stime.is_utc = 1;
19 per.stime.is_daylight = 0;
20 per.stime.zone = utc_icaltimezone;
21 per.stime.hour = 0;
22 @@ -2588,7 +2586,6 @@ static struct icaltimetype count_first_a
23 }
24 else {
25 per.etime.is_date = 0;
26 - per.etime.is_utc = 1;
27 per.etime.is_daylight = 0;
28 per.etime.zone = utc_icaltimezone;
29 per.etime.hour = 0;
30 @@ -2613,7 +2610,6 @@ static struct icaltimetype count_next_al
31 /* HACK: convert to UTC time so that we can use time arithmetic
32 * when counting alarm time. */
33 start_time.is_date = 0;
34 - start_time.is_utc = 1;
35 start_time.is_daylight = 0;
36 start_time.zone = utc_icaltimezone;
37 start_time.hour = 0;
38 @@ -2768,7 +2764,6 @@ static alarm_struct *process_alarm_trigg
39 */
40 if (icaltime_is_date(per.stime)) {
41 if (local_icaltimezone != utc_icaltimezone) {
42 - next_alarm_time.is_utc = 0;
43 next_alarm_time.is_daylight = 0;
44 next_alarm_time.zone = local_icaltimezone;
45 }
46 @@ -2850,7 +2845,6 @@ orage_message(120, P_N "Alarm rec loop n
47 */
48 if (icaltime_is_date(per.stime)) {
49 if (local_icaltimezone != utc_icaltimezone) {
50 - next_alarm_time.is_utc = 0;
51 next_alarm_time.is_daylight = 0;
52 next_alarm_time.zone = local_icaltimezone;
53 }
54 @@ -2944,7 +2938,6 @@ orage_message(120, P_N "*****After loop
55 */
56 if (icaltime_is_date(per.stime)) {
57 if (local_icaltimezone != utc_icaltimezone) {
58 - next_alarm_time.is_utc = 0;
59 next_alarm_time.is_daylight = 0;
60 next_alarm_time.zone = local_icaltimezone;
61 }