pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/evolution Also take tm_isdst into account by appl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9c63f5a7363
branches:  trunk
changeset: 519858:a9c63f5a7363
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Oct 11 16:45:49 2006 +0000

description:
Also take tm_isdst into account by applying a 3600 second correction.
Bump revision.

diffstat:

 mail/evolution/Makefile         |   4 ++--
 mail/evolution/distinfo         |   4 ++--
 mail/evolution/patches/patch-aa |  13 +++++++++++--
 3 files changed, 15 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 26ff195c729c -r a9c63f5a7363 mail/evolution/Makefile
--- a/mail/evolution/Makefile   Wed Oct 11 16:41:36 2006 +0000
+++ b/mail/evolution/Makefile   Wed Oct 11 16:45:49 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.115 2006/10/09 11:34:09 joerg Exp $
+# $NetBSD: Makefile,v 1.116 2006/10/11 16:45:49 joerg Exp $
 
 DISTNAME=              evolution-2.8.0
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            mail time gnome
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/evolution/2.8/}
 EXTRACT_SUFX=          .tar.bz2
diff -r 26ff195c729c -r a9c63f5a7363 mail/evolution/distinfo
--- a/mail/evolution/distinfo   Wed Oct 11 16:41:36 2006 +0000
+++ b/mail/evolution/distinfo   Wed Oct 11 16:45:49 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.47 2006/10/09 11:34:09 joerg Exp $
+$NetBSD: distinfo,v 1.48 2006/10/11 16:45:49 joerg Exp $
 
 SHA1 (evolution-2.8.0.tar.bz2) = 0da65a3de84e60d0e41265607c7c7fcec18fe072
 RMD160 (evolution-2.8.0.tar.bz2) = ba73d9529a02f2ea6db8c8f2c7da3041276e1d5c
 Size (evolution-2.8.0.tar.bz2) = 12821926 bytes
-SHA1 (patch-aa) = 7f6478813462095996fa22ffd347893773e5cf35
+SHA1 (patch-aa) = 161fd9abf70ff67f8d1b22cdbdfdab44e767ae56
 SHA1 (patch-ab) = 871a322eefd1a42e7197da764d49cd1d24f6535d
diff -r 26ff195c729c -r a9c63f5a7363 mail/evolution/patches/patch-aa
--- a/mail/evolution/patches/patch-aa   Wed Oct 11 16:41:36 2006 +0000
+++ b/mail/evolution/patches/patch-aa   Wed Oct 11 16:45:49 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.22 2006/10/09 11:34:09 joerg Exp $
+$NetBSD: patch-aa,v 1.23 2006/10/11 16:45:49 joerg Exp $
 
 --- widgets/e-timezone-dialog/e-timezone-dialog.c.orig 2006-09-21 19:22:45.000000000 +0000
 +++ widgets/e-timezone-dialog/e-timezone-dialog.c
@@ -11,7 +11,16 @@
  #endif
  
  static void e_timezone_dialog_class_init      (ETimezoneDialogClass *class);
-@@ -324,7 +322,7 @@ get_local_timezone()
+@@ -314,6 +312,8 @@ get_local_offset ()
+       t_gmt = mktime (&gmt);
+       t_local = mktime (&local);
+       diff = t_local - t_gmt;
++      if (local.tm_isdst == 1)
++              diff += 3600;
+ 
+       return diff;
+ }
+@@ -324,7 +324,7 @@ get_local_timezone()
        icaltimezone *zone;
        
        tzset();



Home | Main Index | Thread Index | Old Index