summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-11-29 16:42:57 +0000
committeragc <agc@pkgsrc.org>2000-11-29 16:42:57 +0000
commit0f6a64c129ac3d189af614cabd533bcba11a3428 (patch)
treee6406d15f529ea127ce5239886ee2efc24ac31d5 /devel
parente98182f758599457a1eb2b28b2892d28ace8b9f4 (diff)
downloadpkgsrc-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')
-rw-r--r--devel/mit-pthreads/files/patch-sum3
-rw-r--r--devel/mit-pthreads/patches/patch-cb28
2 files changed, 30 insertions, 1 deletions
diff --git a/devel/mit-pthreads/files/patch-sum b/devel/mit-pthreads/files/patch-sum
index 3d0ba0d72db..8caf7991e06 100644
--- a/devel/mit-pthreads/files/patch-sum
+++ b/devel/mit-pthreads/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.17 2000/08/06 19:55:45 fredb Exp $
+$NetBSD: patch-sum,v 1.18 2000/11/29 16:42:57 agc Exp $
MD5 (patch-aa) = 5af930f67e251f5eb89b5414426d2396
MD5 (patch-ab) = 9bb4e83bd91f0159a522d8bfbba89362
@@ -52,3 +52,4 @@ MD5 (patch-bx) = c397240a0ef5907800d23f20206cbd03
MD5 (patch-by) = d7a2a04c6607297c31dfa620e1c65f39
MD5 (patch-bz) = 855d85111e9d78eb4698319e1390e74f
MD5 (patch-ca) = 4266a970bb9514cda356dd1baa046e12
+MD5 (patch-cb) = 1e5276b89be447be4bb0983f6be81569
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;