From owner-freebsd-ports Thu Apr 25 17:32:19 2002 Delivered-To: freebsd-ports@freebsd.org Received: from ler-freebie.iadfw.net (ler-freebie.iadfw.net [206.66.13.221]) by hub.freebsd.org (Postfix) with ESMTP id 2221A37B41A; Thu, 25 Apr 2002 17:32:12 -0700 (PDT) Received: from ler-freebie.iadfw.net (localhost [127.0.0.1]) by ler-freebie.iadfw.net (8.12.2/8.12.2) with ESMTP id g3Q0WBAI004013; Thu, 25 Apr 2002 19:32:11 -0500 (CDT) (envelope-from ler@ler-freebie.iadfw.net) Received: (from ler@localhost) by ler-freebie.iadfw.net (8.12.2/8.12.2/Submit) id g3Q0WBui003982; Thu, 25 Apr 2002 19:32:11 -0500 (CDT) Date: Thu, 25 Apr 2002 19:32:10 -0500 From: Larry Rosenman To: Maxim Sobolev Cc: ade@FreeBSD.org, gnome@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: evolution 1.0.3: TZ problem with DST Message-ID: <20020426003210.GA3143@ler-freebie.iadfw.net> References: <20020410143552.GA62584@ler-freebie.iadfw.net> <200204101505.g3AF5LR92134@vega.vega.com> <20020410152058.GA33015@ler-freebie.iadfw.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020410152058.GA33015@ler-freebie.iadfw.net> User-Agent: Mutt/1.3.28i X-Mailer: Mutt http://www.mutt.org/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org What would it take to get this into the ports tree ???????????? * Larry Rosenman [020410 10:20]: > * Maxim Sobolev [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