summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc>2000-11-29 17:08:07 +0000
committeragc <agc>2000-11-29 17:08:07 +0000
commit91a249268b25eb2cba151780203f9c778b4a4706 (patch)
tree9fde237fc54ccbdc07206427990b1b9a9cdcc044 /devel
parentc674da237ca5ae41281b8000e597e03c75466c8a (diff)
downloadpkgsrc-91a249268b25eb2cba151780203f9c778b4a4706.tar.gz
Add similar patch to the one in mit-pthreads, fixing the return value from
detzcode() from long to int. From Tom Thai.
Diffstat (limited to 'devel')
-rw-r--r--devel/unproven-pthreads/files/patch-sum3
-rw-r--r--devel/unproven-pthreads/patches/patch-ab28
2 files changed, 30 insertions, 1 deletions
diff --git a/devel/unproven-pthreads/files/patch-sum b/devel/unproven-pthreads/files/patch-sum
index b5d61e5df30..bf85e35b00e 100644
--- a/devel/unproven-pthreads/files/patch-sum
+++ b/devel/unproven-pthreads/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.3 2000/09/11 02:02:40 wiz Exp $
+$NetBSD: patch-sum,v 1.4 2000/11/29 17:08:07 agc Exp $
MD5 (patch-aa) = c22d3df041130ba62d48208de1f281c5
+MD5 (patch-ab) = 1e5276b89be447be4bb0983f6be81569
diff --git a/devel/unproven-pthreads/patches/patch-ab b/devel/unproven-pthreads/patches/patch-ab
new file mode 100644
index 00000000000..75f44c55e30
--- /dev/null
+++ b/devel/unproven-pthreads/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.3 2000/11/29 17:08:08 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;