Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 06:50:18 -0700 (PDT)
From:      Pav Lucistnik <pav@oook.cz>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/53087: [maintainer update] textproc/meld fix hardcoded path
Message-ID:  <200306091350.h59DoI7p053444@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/53087; it has been noted by GNATS.

From: Pav Lucistnik <pav@oook.cz>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/53087: [maintainer update] textproc/meld fix hardcoded
 path
Date: Mon, 9 Jun 2003 15:46:46 +0200 (CEST)

 - Fix timezone offset in CVS view (and make it usable).
   Fix was sent to Meld people.
   Again submitted by: Sergey Akifyev <asa@gascom.ru>
 
 Commiter please add this as new file files/patch-cvsview.py:
 
 --- cvsview.py.orig     Mon Jun  9 15:36:40 2003
 +++ cvsview.py  Mon Jun  9 15:37:53 2003
 @@ -90,7 +90,7 @@
                  if plus >= 0:
                      cotime = 0
                  try:
 -                    cotime = time.mktime( time.strptime(date) )
 +                    cotime = time.mktime( time.strptime(date) ) - time.timezone
                  except ValueError, e:
                      if not date.startswith("Result of merge"):
                          print "Unable to parse date '%s' in '%s/CVS/Entries'" % (date, directory)
 
 
 -- 
 Pav Lucistnik <pav@oook.cz>
 printk("Penguin %d is stuck in the bottle.\n", i);
     2.0.38 /usr/src/linux/arch/sparc/kernel/smp.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306091350.h59DoI7p053444>