commit:     0e92130ec4df66f973c2afbf22de9e18dd1100a7
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 14:26:16 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 14:32:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=0e92130e

gnome-extra/gnome-todo: fix compatibility with dev-libs/libical:0/3

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gnome-todo/files/3.24.2-libical3-compat.patch  | 29 ++++++++++++++++++++++
 gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild    |  6 ++++-
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnome-extra/gnome-todo/files/3.24.2-libical3-compat.patch 
b/gnome-extra/gnome-todo/files/3.24.2-libical3-compat.patch
new file mode 100644
index 00000000..f7265da3
--- /dev/null
+++ b/gnome-extra/gnome-todo/files/3.24.2-libical3-compat.patch
@@ -0,0 +1,29 @@
+From a2f3afb3c8a4f8b0a2a361e37b36b10e1e98380c Mon Sep 17 00:00:00 2001
+From: Georges Basile Stavracas Neto <[email protected]>
+Date: Sat, 11 Nov 2017 03:31:47 -0200
+Subject: [PATCH] eds: Build with libical 3.0
+
+Fixes #123
+
+(cherry picked and ported from commit 6de8adc351b758c1d608ae0ea8acf6d35ed502ea)
+---
+ src/gtd-task.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/gtd-task.c b/src/gtd-task.c
+index 1143dad..125e2f3 100644
+--- a/src/gtd-task.c
++++ b/src/gtd-task.c
+@@ -777,8 +777,7 @@ gtd_task_set_complete (GtdTask  *task,
+           dt->hour = g_date_time_get_hour (now);
+           dt->minute = g_date_time_get_minute (now);
+           dt->second = g_date_time_get_seconds (now);
+-          dt->is_date = 0;
+-          dt->is_utc = 1;
++          dt->zone = icaltimezone_get_utc_timezone ();
+ 
+           /* convert timezone
+            *
+-- 
+2.15.1
+

diff --git a/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild 
b/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild
index 7bc408d7..7512ec18 100644
--- a/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild
+++ b/gnome-extra/gnome-todo/gnome-todo-3.24.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}"/${PV}-libical3-compat.patch
+)
+
 src_configure() {
        gnome2_src_configure \
                $(use_enable introspection) \

Reply via email to