diff options
author | cube <cube@pkgsrc.org> | 2004-01-07 08:02:18 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-01-07 08:02:18 +0000 |
commit | d240511f8d92ca2ec5ef8980d8926669f66bb4b0 (patch) | |
tree | 5fdc1172103ec4251b819e1917baf1aef3e8f45b /databases | |
parent | a06881657c43e490d794ac720fe965dbc433db6b (diff) | |
download | pkgsrc-d240511f8d92ca2ec5ef8980d8926669f66bb4b0.tar.gz |
Rework patch-al to let it compile on !NetBSD platforms.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql-server/distinfo | 4 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-al | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/databases/mysql-server/distinfo b/databases/mysql-server/distinfo index 7284091a52b..6b950def9ef 100644 --- a/databases/mysql-server/distinfo +++ b/databases/mysql-server/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.24 2003/10/05 17:55:34 martti Exp $ +$NetBSD: distinfo,v 1.25 2004/01/07 08:02:18 cube Exp $ SHA1 (mysql-3.23.58.tar.gz) = f3383e41e8926c040a295173881414a1e96e0266 Size (mysql-3.23.58.tar.gz) = 12039843 bytes @@ -6,5 +6,5 @@ SHA1 (patch-aa) = 3954608e14c5c7996e699dc3dc083cf93d5944c7 SHA1 (patch-ab) = 026fe468b4d7517084eea74ae14e115861d7d552 SHA1 (patch-ae) = 127fb44f62f351236e4f36609f8d3af7469e67cd SHA1 (patch-af) = 53d0c68891918e9b0a21a9e30bf4b36aec44d2b8 -SHA1 (patch-al) = 12cbb309e290067f599c2bbe9379e7dd804b8dad +SHA1 (patch-al) = 4dea01ae58df622706887c59f303ffaf38384393 SHA1 (patch-am) = 8e4398480701eb38193babdeac59572cdadbd4ea diff --git a/databases/mysql-server/patches/patch-al b/databases/mysql-server/patches/patch-al index 9a5a00d364f..2aa6537b71c 100644 --- a/databases/mysql-server/patches/patch-al +++ b/databases/mysql-server/patches/patch-al @@ -1,4 +1,4 @@ -$NetBSD: patch-al,v 1.4 2003/10/05 17:55:34 martti Exp $ +$NetBSD: patch-al,v 1.5 2004/01/07 08:02:18 cube Exp $ --- include/my_pthread.h.orig Thu Aug 28 13:26:47 2003 +++ include/my_pthread.h Thu Aug 28 13:28:45 2003 @@ -20,10 +20,10 @@ $NetBSD: patch-al,v 1.4 2003/10/05 17:55:34 martti Exp $ #endif #ifndef HAVE_NONPOSIX_SIGWAIT -+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106130000) - #define my_sigwait(A,B) sigwait((A),(B)) -+#elif defined (__NetBSD__) && (__NetBSD_Version__ < 106130000) ++#if defined (__NetBSD__) && (__NetBSD_Version__ < 106130000) +#define my_sigwait(A,B) __pthread_sigwait((A),(B)) ++#else + #define my_sigwait(A,B) sigwait((A),(B)) +#endif #else int my_sigwait(const sigset_t *set,int *sig); |