summaryrefslogtreecommitdiff
path: root/databases/mysql-server/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-server/patches/patch-aj')
-rw-r--r--databases/mysql-server/patches/patch-aj20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/mysql-server/patches/patch-aj b/databases/mysql-server/patches/patch-aj
new file mode 100644
index 00000000000..f42e01e2acb
--- /dev/null
+++ b/databases/mysql-server/patches/patch-aj
@@ -0,0 +1,20 @@
+$NetBSD: patch-aj,v 1.1.1.1 1999/05/06 23:37:01 tv Exp $
+--- mit-pthreads/pthreads/fd.c.orig Tue Jan 13 06:28:04 1998
++++ mit-pthreads/pthreads/fd.c Mon Dec 28 23:50:16 1998
+@@ -44,6 +44,7 @@
+
+ #include <pthread.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -702,7 +703,7 @@
+ */
+ off_t lseek(int fd, off_t offset, int whence)
+ {
+- int ret;
++ off_t ret;
+
+ if ((ret = fd_lock(fd, FD_RDWR, NULL)) == OK) {
+ ret = fd_table[fd]->ops->seek(fd_table[fd]->fd,