summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-17 08:11:12 +0000
committerjoerg <joerg>2008-04-17 08:11:12 +0000
commitb66a81a19a43c0a4151d8179fd8571c6d9c15501 (patch)
tree31d993c85c4b2085aa348b727c8a72b894572d89 /pkgtools/libnbcompat
parentee8362867d205ad1034c8900d0ff8b21fb05e66f (diff)
downloadpkgsrc-b66a81a19a43c0a4151d8179fd8571c6d9c15501.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.
Diffstat (limited to 'pkgtools/libnbcompat')
-rw-r--r--pkgtools/libnbcompat/Makefile4
-rw-r--r--pkgtools/libnbcompat/files/timegm.c2
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