diff options
author | veego <veego@pkgsrc.org> | 2001-10-08 17:28:12 +0000 |
---|---|---|
committer | veego <veego@pkgsrc.org> | 2001-10-08 17:28:12 +0000 |
commit | ac26155df67f208f3fc700ac269a3d64bf80242c (patch) | |
tree | e173650fcccabbba22135460d96a52f7515e0d75 /databases/mysql-server | |
parent | 3523c99beb622f4a3ef69a8743c496528ee0805d (diff) | |
download | pkgsrc-ac26155df67f208f3fc700ac269a3d64bf80242c.tar.gz |
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.
Diffstat (limited to 'databases/mysql-server')
-rw-r--r-- | databases/mysql-server/distinfo | 3 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-ah | 17 |
2 files changed, 19 insertions, 1 deletions
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 <sys/time.h>! */ ++#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 + |