pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat Don't let a mathematican add numb...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8da1dd09a00c
branches:  trunk
changeset: 541234:8da1dd09a00c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 17 08:11:12 2008 +0000

description:
Don't let a mathematican add numbers with less than 20 digits. Fix the
the offset for November and December and welcome libnbcompat-20080416.

diffstat:

 pkgtools/libnbcompat/Makefile       |  4 ++--
 pkgtools/libnbcompat/files/timegm.c |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r cd8e8e0dc73b -r 8da1dd09a00c pkgtools/libnbcompat/Makefile
--- a/pkgtools/libnbcompat/Makefile     Thu Apr 17 07:40:34 2008 +0000
+++ b/pkgtools/libnbcompat/Makefile     Thu Apr 17 08:11:12 2008 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.59 2008/04/04 15:20:33 joerg Exp $
+# $NetBSD: Makefile,v 1.60 2008/04/17 08:11:12 joerg Exp $
 #
 # NOTE: If you update this package, it is *mandatory* that you update
 #      pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual
 #      list of tested and supported platforms.
 #
 
-DISTNAME=              libnbcompat-20080404
+DISTNAME=              libnbcompat-20080416
 CATEGORIES=            pkgtools devel
 MASTER_SITES=          # empty
 DISTFILES=             # empty
diff -r cd8e8e0dc73b -r 8da1dd09a00c pkgtools/libnbcompat/files/timegm.c
--- a/pkgtools/libnbcompat/files/timegm.c       Thu Apr 17 07:40:34 2008 +0000
+++ b/pkgtools/libnbcompat/files/timegm.c       Thu Apr 17 08:11:12 2008 +0000
@@ -35,7 +35,7 @@
 
 /* Number of days per month (except for February in leap years). */
 static const int monoff[] = {
-       0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 324, 354
+       0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334
 };
 
 static int



Home | Main Index | Thread Index | Old Index