pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/planner fix a whacky calendar calculation: UTC ca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/869a9fb1dcf2
branches:  trunk
changeset: 396910:869a9fb1dcf2
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Aug 05 17:14:47 2009 +0000

description:
fix a whacky calendar calculation: UTC cannot have DST
bump PKGREVISION

diffstat:

 time/planner/Makefile         |   3 ++-
 time/planner/distinfo         |   3 ++-
 time/planner/patches/patch-aa |  12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 1b842526900f -r 869a9fb1dcf2 time/planner/Makefile
--- a/time/planner/Makefile     Wed Aug 05 17:10:37 2009 +0000
+++ b/time/planner/Makefile     Wed Aug 05 17:14:47 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2009/07/22 09:01:49 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2009/08/05 17:14:47 drochner Exp $
 #
 
 DISTNAME=      planner-0.14.4
+PKGREVISION=   1
 CATEGORIES=    time x11 gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/planner/0.14/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 1b842526900f -r 869a9fb1dcf2 time/planner/distinfo
--- a/time/planner/distinfo     Wed Aug 05 17:10:37 2009 +0000
+++ b/time/planner/distinfo     Wed Aug 05 17:14:47 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2009/05/13 00:06:12 dsainty Exp $
+$NetBSD: distinfo,v 1.4 2009/08/05 17:14:47 drochner Exp $
 
 SHA1 (planner-0.14.4.tar.bz2) = 43ba90bd18fcd271c0da31e66d2fa1294831cf28
 RMD160 (planner-0.14.4.tar.bz2) = 61fae3ac84e703d360b1cba97410a89da876a293
 Size (planner-0.14.4.tar.bz2) = 3738005 bytes
+SHA1 (patch-aa) = 5f2d0b4e8efb62efb736741fc60f4ca87a18778d
diff -r 1b842526900f -r 869a9fb1dcf2 time/planner/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/planner/patches/patch-aa     Wed Aug 05 17:14:47 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2009/08/05 17:14:48 drochner Exp $
+
+--- libplanner/mrp-time.c.orig 2009-04-18 20:21:54.000000000 +0200
++++ libplanner/mrp-time.c
+@@ -171,6 +171,7 @@ mrp_time_from_tm (struct tm *tm)
+       /* This is a hack. Set the timezone to UTC temporarily. */
+       old_tz = g_strdup (g_getenv ("TZ"));
+       g_setenv ("TZ", "UTC", TRUE);
++      tm->tm_isdst = 0;
+       
+       t = mktime (tm);
+ 



Home | Main Index | Thread Index | Old Index