Date: Friday, February 16, 2018 @ 16:43:55 Author: heftig Revision: 317151
3.26.3+2+g966ec1c5-1 Added: gnome-calendar/trunk/null-icaltime.diff Modified: gnome-calendar/trunk/PKGBUILD --------------------+ PKGBUILD | 11 +++++++---- null-icaltime.diff | 14 ++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-02-16 16:28:33 UTC (rev 317150) +++ PKGBUILD 2018-02-16 16:43:55 UTC (rev 317151) @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <[email protected]> pkgname=gnome-calendar -pkgver=3.26.3 +pkgver=3.26.3+2+g966ec1c5 pkgrel=1 pkgdesc="Simple and beautiful calendar application designed to perfectly fit the GNOME desktop" url="https://wiki.gnome.org/Apps/Calendar" @@ -11,9 +11,11 @@ depends=(evolution-data-server gsettings-desktop-schemas evolution gnome-control-center) makedepends=(python appstream-glib git meson gtk-doc) groups=(gnome) -_commit=7e88d7c14493d2656edf626fef7ab6162806d607 # tags/3.26.3^0 -source=("git+https://gitlab.gnome.org/GNOME/gnome-calendar.git#commit=$_commit") -sha256sums=('SKIP') +_commit=966ec1c554ff4c7e5385ab9389f3ca8cf5a8faa4 # gnome-3-26 +source=("git+https://gitlab.gnome.org/GNOME/gnome-calendar.git#commit=$_commit" + null-icaltime.diff) +sha256sums=('SKIP' + 'd24ae7e985ab9d568685371473006f58d169744c94a2cc89835b6f39f2001898') pkgver() { cd $pkgname @@ -22,6 +24,7 @@ prepare() { cd $pkgname + patch -Np1 -i ../null-icaltime.diff } build() { Added: null-icaltime.diff =================================================================== --- null-icaltime.diff (rev 0) +++ null-icaltime.diff 2018-02-16 16:43:55 UTC (rev 317151) @@ -0,0 +1,14 @@ +diff --git i/src/gcal-utils.c w/src/gcal-utils.c +index 9846a59b..7f96a40d 100644 +--- i/src/gcal-utils.c ++++ w/src/gcal-utils.c +@@ -154,6 +154,9 @@ icaltime_to_datetime (const icaltimetype *date) + GDateTime *dt; + GTimeZone *tz; + ++ if (!date) ++ return NULL; ++ + tz = date->zone ? g_time_zone_new (icaltime_get_tzid (*date)) : g_time_zone_new_utc (); + dt = g_date_time_new (tz, + date->year,
