pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/py-gnome2-desktop py-gnome2-desktop: Fix build aga...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45bd216232ce
branches:  trunk
changeset: 380388:45bd216232ce
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue May 15 10:35:02 2018 +0000

description:
py-gnome2-desktop: Fix build against current libical API.

diffstat:

 x11/py-gnome2-desktop/distinfo                               |   4 ++-
 x11/py-gnome2-desktop/patches/patch-evolution_ecal.override  |  15 ++++++++++++
 x11/py-gnome2-desktop/patches/patch-evolution_evo-calendar.c |  15 ++++++++++++
 3 files changed, 33 insertions(+), 1 deletions(-)

diffs (52 lines):

diff -r 8b8aa045e8b3 -r 45bd216232ce x11/py-gnome2-desktop/distinfo
--- a/x11/py-gnome2-desktop/distinfo    Tue May 15 10:16:17 2018 +0000
+++ b/x11/py-gnome2-desktop/distinfo    Tue May 15 10:35:02 2018 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.14 2015/11/04 03:28:51 agc Exp $
+$NetBSD: distinfo,v 1.15 2018/05/15 10:35:02 jperkin Exp $
 
 SHA1 (gnome-python-desktop-2.32.0.tar.bz2) = dae15fe9fea61ecbde5af513c94de2ff1a66369c
 RMD160 (gnome-python-desktop-2.32.0.tar.bz2) = f9b619aa335b88fbf0e5b70d6b362cb08c4df07d
 SHA512 (gnome-python-desktop-2.32.0.tar.bz2) = 51beefd21fa3aa6242ba4c66e57d940372fbf4a84ffe34063339f6e7e7c22e76d281b25d5f113de3780a0dbf733c7e07142f05a285056cda26736323b4185d18
 Size (gnome-python-desktop-2.32.0.tar.bz2) = 621277 bytes
 SHA1 (patch-aa) = 774c396b894f9b9b0247398d3dd0b5c99c6e62d5
+SHA1 (patch-evolution_ecal.override) = f733264557d461619784219dd4c3746b2aa4672c
+SHA1 (patch-evolution_evo-calendar.c) = d42bfced035d8179bb30aaf5fcd9c9bf75e86868
diff -r 8b8aa045e8b3 -r 45bd216232ce x11/py-gnome2-desktop/patches/patch-evolution_ecal.override
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-gnome2-desktop/patches/patch-evolution_ecal.override       Tue May 15 10:35:02 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-evolution_ecal.override,v 1.1 2018/05/15 10:35:02 jperkin Exp $
+
+Build against current libical API.
+
+--- evolution/ecal.override.orig       2010-02-09 12:46:26.000000000 +0000
++++ evolution/ecal.override
+@@ -209,7 +209,7 @@ _wrap_evo_cal_component_set_due(PyGObjec
+     }
+     dt = g_malloc0 (sizeof (ECalComponentDateTime));
+     dt->value = g_malloc0 (sizeof (struct icaltimetype));
+-    (*dt->value) = icaltime_from_timet(PyInt_AsLong(due), TRUE);
++    (*dt->value) = icaltime_from_timet_with_zone(PyInt_AsLong(due), TRUE, NULL);
+     e_cal_component_set_due(calcomponent, dt);
+ 
+     Py_INCREF(Py_None);
diff -r 8b8aa045e8b3 -r 45bd216232ce x11/py-gnome2-desktop/patches/patch-evolution_evo-calendar.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-gnome2-desktop/patches/patch-evolution_evo-calendar.c      Tue May 15 10:35:02 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-evolution_evo-calendar.c,v 1.1 2018/05/15 10:35:02 jperkin Exp $
+
+Build against current libical API.
+
+--- evolution/evo-calendar.c.orig      2010-02-09 12:46:26.000000000 +0000
++++ evolution/evo-calendar.c
+@@ -239,7 +239,7 @@ evo_cal_component_set_modified(ECalCompo
+ {
+     struct icaltimetype tt;
+ 
+-    tt = icaltime_from_timet(seconds, TRUE);
++    tt = icaltime_from_timet_with_zone(seconds, TRUE, NULL);
+     e_cal_component_set_last_modified(obj, &tt);
+ }
+ 



Home | Main Index | Thread Index | Old Index