Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 20:39:57 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Larry Rosenman <ler@airmail.net>
Cc:        ade@FreeBSD.ORG, gnome@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: evolution 1.0.3: TZ problem with DST
Message-ID:  <3CC990ED.7E7BAADD@FreeBSD.org>
References:  <20020410143552.GA62584@ler-freebie.iadfw.net> <200204101505.g3AF5LR92134@vega.vega.com> <20020410152058.GA33015@ler-freebie.iadfw.net> <20020426003210.GA3143@ler-freebie.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Larry Rosenman wrote:
> 
> What would it take to get this into the ports tree ????????????

OOPS, sorry, I dropped the ball (all those bsd.port.mk and GNOME2
issues are quite time consuming). Marcus, could you please test the
patch and commit it if it works (thank you in advance :)?

-Maxim

> 
> * Larry Rosenman <ler@airmail.net> [020410 10:20]:
> > * Maxim Sobolev <sobomax@FreeBSD.org> [020410 10:18]:
> > > >
> > > > I discovered (and reported to the Evolution team) a bug where on
> > > > FreeBSD the timezone is adjusted to be one hour off from reality when
> > > > DST is in effect.
> > > >
> > > > The Evolution team fixed it in CVS for 1.0.4, but I don't know when it
> > > > will be out.
> > > >
> > > > Can the port be modified to patch
> > > >
> > > > camel/camel-mime-message.c
> > > >
> > > > to remove the lines around line 212
> > > > that set offset += 100?
> > >
> > > Not a problem, but please submit a patch instead of a verbal description.
> > >
> > > Thanks!
> > >
> > > -Maxim
> > Here is my quickie patch, I'm not sure how y'all want to do it.  it
> > definately fixes FreeBSD....
> >
> >
> > *** camel-mime-message.c.orig Wed Apr 10 10:19:38 2002
> > --- camel-mime-message.c      Wed Apr 10 09:31:51 2002
> > ***************
> > *** 209,216 ****
> > --- 209,218 ----
> >               tz = -local->tm_gmtoff;
> >   #endif
> >               offset = -(((tz/60/60) * 100) + (tz/60 % 60));
> > + #if 0
> >               if (local->tm_isdst>0)
> >                       offset += 100;
> > + #endif
> >       }
> >       message->date = date;
> >       message->date_offset = offset;
> >
> > --
> > Larry Rosenman, Sr. Network Engineer, Internet America, Inc.
> > E-Mail: ler@airmail.net
> > Phone: +1 214-861-2571, Fax: 214-861-2663
> > US Mail: 350 N. St. Paul, Suite 3000, Dallas, TX 75201
> 
> --
> Larry Rosenman, Sr. Network Engineer, Internet America, Inc.
> E-Mail: ler@airmail.net
> Phone: +1 214-861-2571, Fax: 214-861-2663
> US Mail: 350 N. St. Paul, Suite 3000, Dallas, TX 75201

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CC990ED.7E7BAADD>