1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix a bug in local timezone handling. Bump PORTREVISION.

Submitted by:	Gary Geisbert <geisbert@code1200.nrl.navy.mil>
This commit is contained in:
Maxim Sobolev 2001-12-07 19:02:56 +00:00
parent 47571fae0a
commit e4623b8763
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51185
4 changed files with 30 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= evolution
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/evolution

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- camel/camel-mime-message.c 2001/12/07 18:58:45 1.1
+++ camel/camel-mime-message.c 2001/12/07 18:59:18
@@ -206,7 +206,7 @@
#if defined(HAVE_TIMEZONE)
tz = timezone;
#elif defined(HAVE_TM_GMTOFF)
- tz = local->tm_gmtoff;
+ tz = -local->tm_gmtoff;
#endif
offset = -(((tz/60/60) * 100) + (tz/60 % 60));
if (local->tm_isdst>0)

View File

@ -7,7 +7,7 @@
PORTNAME= evolution
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/evolution

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- camel/camel-mime-message.c 2001/12/07 18:58:45 1.1
+++ camel/camel-mime-message.c 2001/12/07 18:59:18
@@ -206,7 +206,7 @@
#if defined(HAVE_TIMEZONE)
tz = timezone;
#elif defined(HAVE_TM_GMTOFF)
- tz = local->tm_gmtoff;
+ tz = -local->tm_gmtoff;
#endif
offset = -(((tz/60/60) * 100) + (tz/60 % 60));
if (local->tm_isdst>0)