From ac26155df67f208f3fc700ac269a3d64bf80242c Mon Sep 17 00:00:00 2001 From: veego Date: Mon, 8 Oct 2001 17:28:12 +0000 Subject: Fix a build problem with the new toolchain, where you would get: mysqld.cc:2268: implicit declaration of function `int select(...)' Patch from Christoph Badura. --- databases/mysql-server/distinfo | 3 ++- databases/mysql-server/patches/patch-ah | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 databases/mysql-server/patches/patch-ah (limited to 'databases/mysql-server') diff --git a/databases/mysql-server/distinfo b/databases/mysql-server/distinfo index 6cdbdc81e57..8688293bbd5 100644 --- a/databases/mysql-server/distinfo +++ b/databases/mysql-server/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2001/10/08 17:24:15 veego Exp $ +$NetBSD: distinfo,v 1.8 2001/10/08 17:28:12 veego Exp $ SHA1 (mysql-3.23.43.tar.gz) = ebae00aeac2b301ebaf9a919c070a0005d4b1ac3 Size (mysql-3.23.43.tar.gz) = 11777006 bytes SHA1 (patch-aa) = 05c56d81e17893dd267fcd5f68d8c378f024a06f SHA1 (patch-ae) = 3df96ba682364349ae1d955328da76cc59810b1b SHA1 (patch-af) = 5492aad46ff87863856ae459f8237f2bf8722ce4 +SHA1 (patch-ah) = 7cd4278c9bdc5220de04f7e6b62bb8d11c892ffb diff --git a/databases/mysql-server/patches/patch-ah b/databases/mysql-server/patches/patch-ah new file mode 100644 index 00000000000..c01401a902b --- /dev/null +++ b/databases/mysql-server/patches/patch-ah @@ -0,0 +1,17 @@ +$NetBSD: patch-ah,v 1.7 2001/10/08 17:28:13 veego Exp $ + +--- mit-pthreads/include/unistd.h-orig Wed Oct 3 18:08:36 2001 ++++ mit-pthreads/include/unistd.h Mon Oct 8 08:15:37 2001 +@@ -177,6 +177,12 @@ + void usleep __P_((unsigned)); + int vfork __P_((void)); + ++/* FIXME: this should go to ! */ ++#if __STDC__ ++struct timeval; /* select(2) XXX */ ++#endif ++int select __P((int, fd_set *, fd_set *, fd_set *, struct timeval *)); ++ + #endif /* !_POSIX_SOURCE */ + __END_DECLS + -- cgit v1.2.3