summaryrefslogtreecommitdiff
path: root/databases/mysql-server/patches/patch-ad
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/mysql-server/patches/patch-ad
parentbd5847810c7529bc1e7c92dce650dddac874e76d (diff)
downloadpkgsrc-b13184ea3676369d37ed248a38be4a3d95749337.tar.gz
Fix timezone return value in threads. From Thomas T. Thai in pkg/11256.
Diffstat (limited to 'databases/mysql-server/patches/patch-ad')
-rw-r--r--databases/mysql-server/patches/patch-ad25
1 files changed, 25 insertions, 0 deletions
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;