diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-17 08:11:12 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-17 08:11:12 +0000 |
commit | b9495db99b97edb24e462e3d2ea4b6f86be02f30 (patch) | |
tree | 31d993c85c4b2085aa348b727c8a72b894572d89 | |
parent | 2831a3b3c3109e36a65d760ad0909ae37c02a1db (diff) | |
download | pkgsrc-b9495db99b97edb24e462e3d2ea4b6f86be02f30.tar.gz |
Don't let a mathematican add numbers with less than 20 digits. Fix the
the offset for November and December and welcome libnbcompat-20080416.
-rw-r--r-- | pkgtools/libnbcompat/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/timegm.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/Makefile b/pkgtools/libnbcompat/Makefile index 67648b0af39..2c6abfe97f9 100644 --- a/pkgtools/libnbcompat/Makefile +++ b/pkgtools/libnbcompat/Makefile @@ -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 --git a/pkgtools/libnbcompat/files/timegm.c b/pkgtools/libnbcompat/files/timegm.c index 9a8bebb35a6..16ef642f53f 100644 --- a/pkgtools/libnbcompat/files/timegm.c +++ b/pkgtools/libnbcompat/files/timegm.c @@ -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 |