Fix build with libical >= 3.0.0.

This commit is contained in:
ajacoutot 2017-11-08 06:16:54 +00:00
parent d8c9d84fd5
commit 83ffebb914
2 changed files with 17 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.32 2017/11/03 14:24:23 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.33 2017/11/08 06:16:54 ajacoutot Exp $
COMMENT = GNOME calendar
GNOME_PROJECT = gnome-calendar
GNOME_VERSION = 3.26.2
REVISION = 0
REVISION = 1
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_gcal-utils_c,v 1.1 2017/11/08 06:16:54 ajacoutot Exp $
Fix build with libical >= 3.0.0
Index: src/gcal-utils.c
--- src/gcal-utils.c.orig
+++ src/gcal-utils.c
@@ -211,7 +211,6 @@ gcal_dup_icaltime (const icaltimetype *date)
new_date->hour = date->hour;
new_date->minute = date->minute;
new_date->second = date->second;
- new_date->is_utc = date->is_utc;
new_date->is_date = date->is_date;
new_date->is_daylight = date->is_daylight;
new_date->zone = date->zone;