diff options
author | agc <agc@pkgsrc.org> | 2000-11-29 16:42:57 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-11-29 16:42:57 +0000 |
commit | 0f6a64c129ac3d189af614cabd533bcba11a3428 (patch) | |
tree | e6406d15f529ea127ce5239886ee2efc24ac31d5 /devel/mit-pthreads/patches | |
parent | e98182f758599457a1eb2b28b2892d28ace8b9f4 (diff) | |
download | pkgsrc-0f6a64c129ac3d189af614cabd533bcba11a3428.tar.gz |
Add a patch from Tom Thai - without this patch, mysql will result in a
wrong date for "select now()".
Diffstat (limited to 'devel/mit-pthreads/patches')
-rw-r--r-- | devel/mit-pthreads/patches/patch-cb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/mit-pthreads/patches/patch-cb b/devel/mit-pthreads/patches/patch-cb new file mode 100644 index 00000000000..a4a4c2c0c0e --- /dev/null +++ b/devel/mit-pthreads/patches/patch-cb @@ -0,0 +1,28 @@ +$NetBSD: patch-cb,v 1.1 2000/11/29 16:42:58 agc Exp $ + +Patch from Tom Thai (without this patch, mysql will result in a wrong +date for "select now()") + +--- gen/ctime.c 2000/11/29 16:21:13 1.1 ++++ gen/ctime.c 2000/11/29 16:23:14 +@@ -129,7 +129,7 @@ + ** Prototypes for static functions. + */ + +-static long detzcode __P((const char *)); ++static int detzcode __P((const char *)); + static const char * getnum __P((const char *, int *, int, int)); + static const char * getsecs __P((const char *, long *)); + static const char * getoffset __P((const char *, long *)); +@@ -175,9 +175,9 @@ + time_t altzone = 0; + #endif /* defined ALTZONE */ + +-static long detzcode(const char * codep) ++static int detzcode(const char * codep) + { +- long result; ++ int result; + int i; + + result = 0; |