summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorskrll <skrll>2000-12-24 12:27:15 +0000
committerskrll <skrll>2000-12-24 12:27:15 +0000
commitb13184ea3676369d37ed248a38be4a3d95749337 (patch)
tree97b940af564fccab93f7cf7d3e4c1dbccb6ad6b2 /databases
parentbd5847810c7529bc1e7c92dce650dddac874e76d (diff)
downloadpkgsrc-b13184ea3676369d37ed248a38be4a3d95749337.tar.gz
Fix timezone return value in threads. From Thomas T. Thai in pkg/11256.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-server/files/patch-sum3
-rw-r--r--databases/mysql-server/patches/patch-ad25
2 files changed, 27 insertions, 1 deletions
diff --git a/databases/mysql-server/files/patch-sum b/databases/mysql-server/files/patch-sum
index 38dc15dd2d0..b190d4876d1 100644
--- a/databases/mysql-server/files/patch-sum
+++ b/databases/mysql-server/files/patch-sum
@@ -1,5 +1,6 @@
-$NetBSD: patch-sum,v 1.11 2000/08/23 14:46:52 wiz Exp $
+$NetBSD: patch-sum,v 1.12 2000/12/24 12:27:15 skrll Exp $
MD5 (patch-aa) = f9dc5acd38bc7bcfb5f853140cd02cf9
MD5 (patch-ab) = d6cde586e7f7eb2daaee47e201cc4fbf
MD5 (patch-ac) = 90ea5395eaac74614946b001661f6e81
+MD5 (patch-ad) = a4b2108e220ffe06ed3bcd75ec5e57c8
diff --git a/databases/mysql-server/patches/patch-ad b/databases/mysql-server/patches/patch-ad
new file mode 100644
index 00000000000..29ea69e036d
--- /dev/null
+++ b/databases/mysql-server/patches/patch-ad
@@ -0,0 +1,25 @@
+$NetBSD: patch-ad,v 1.1 2000/12/24 12:27:16 skrll Exp $
+
+--- mit-pthreads/gen/ctime.c.orig Sun Dec 24 12:05:34 2000
++++ mit-pthreads/gen/ctime.c
+@@ -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;