Date: Tue, 29 Jun 2004 15:24:11 +0200 (CEST) From: Udo Schweigert <udo.schweigert@siemens.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68477: maintainer-update of mail/mutt-devel Message-ID: <200406291324.i5TDOBaB058689@alaska.cert.siemens.com> Resent-Message-ID: <200406291330.i5TDUHsf028924@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68477 >Category: ports >Synopsis: maintainer-update of mail/mutt-devel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jun 29 13:30:16 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Udo Schweigert >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: >Description: Maintainer update of mail/mutt-devel: - Fix the timezone handling of the "conditional date"-patch >How-To-Repeat: >Fix: diff -ru /usr/ports/mail/mutt-devel/files/patch-date-conditional ./files/patch-date-conditional --- /usr/ports/mail/mutt-devel/files/patch-date-conditional Sat Jun 26 15:19:19 2004 +++ ./files/patch-date-conditional Tue Jun 29 15:03:42 2004 @@ -78,9 +78,9 @@ if (flags & M_FORMAT_OPTIONAL) { ---- hdrline.c.orig Thu Jun 24 11:16:36 2004 -+++ hdrline.c Thu Jun 24 11:43:28 2004 -@@ -316,6 +316,63 @@ +--- hdrline.c.orig Tue Jun 29 15:01:28 2004 ++++ hdrline.c Tue Jun 29 15:02:59 2004 +@@ -316,6 +316,64 @@ const char *cp; struct tm *tm; time_t T; @@ -90,7 +90,8 @@ + char *is; + int d; + T = time(NULL); -+ d = T % 86400; ++ tm = localtime(&T); ++ d = (T + tm->tm_gmtoff) % 86400; + T -= (op == '(') ? hdr->received : hdr->date_sent; + + is = (char *)prefix; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406291324.i5TDOBaB058689>