embedded server (by PKG_OPTION). For release MySQL 5.1 specific information please refer: http://dev.mysql.com/doc/refman/5.1/en/mysql-nutshell.html MySQL is a SQL (Structured Query Language) database server. SQL is the most popular database language in the world. MySQL is a client-server implementation that consists of a server daemon `mysqld' and many different client programs/libraries. The main goals of MySQL are speed and robustness. The base upon which MySQL is built is a set of routines that have been used in a highly demanding production environment for many years. While MySQL is still in development it already offers a rich and highly useful function set. The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL). This package contains the MySQL server programs and libraries including embedded server (by PKG_OPTION).
29 lines
728 B
Text
29 lines
728 B
Text
$NetBSD: patch-ai,v 1.1.1.1 2010/03/04 16:28:58 taca Exp $
|
|
|
|
--- include/my_pthread.h.orig 2010-02-04 11:37:06.000000000 +0000
|
|
+++ include/my_pthread.h
|
|
@@ -18,6 +18,13 @@
|
|
#ifndef _my_pthread_h
|
|
#define _my_pthread_h
|
|
|
|
+/* defines __NetBSD_Version__ */
|
|
+#if defined(__NetBSD__)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
+#include <signal.h>
|
|
+
|
|
#ifndef ETIME
|
|
#define ETIME ETIMEDOUT /* For FreeBSD */
|
|
#endif
|
|
@@ -237,6 +244,10 @@ int sigwait(sigset_t *set, int *sig);
|
|
#endif
|
|
|
|
#ifndef HAVE_NONPOSIX_SIGWAIT
|
|
+#if defined (__NetBSD__) && (__NetBSD_Version__ < 106130000)
|
|
+#define my_sigwait(A,B) __pthread_sigwait((A),(B))
|
|
+#else
|
|
+#endif
|
|
#define my_sigwait(A,B) sigwait((A),(B))
|
|
#else
|
|
int my_sigwait(const sigset_t *set,int *sig);
|