head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.36 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.34 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.32 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.30 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.28 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.26 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.24 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.22 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.20 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.18 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.16 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.14 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.12 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.10 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.8 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.6 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.4 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.2 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.6.0.10 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.8 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.6 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.4 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.2 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.5.0.6 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.4 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 buildlink2-base:1.2 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2006.01.07.10.36.12; author ghen; state dead; branches; next 1.6; 1.6 date 2004.10.28.01.08.15; author xtraeme; state Exp; branches; next 1.5; 1.5 date 2004.01.07.08.02.18; author cube; state Exp; branches; next 1.4; 1.4 date 2003.10.05.17.55.34; author martti; state Exp; branches; next 1.3; 1.3 date 2003.01.20.17.48.48; author jdolecek; state Exp; branches; next 1.2; 1.2 date 99.12.13.20.36.24; author bad; state dead; branches; next 1.1; 1.1 date 99.05.06.23.37.01; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.06.23.37.01; author tv; state Exp; branches; next ; desc @@ 1.7 log @Remove mysql-server and mysql-client (versions 4.0.26), because 1) they will not be maintained anymore 2) their package directory names where confusing (mysql4-* have a more recent version) These package directories may be used for meta-pkgs in the future (pulling in the latest mysql?-* packages). @ text @$NetBSD: patch-al,v 1.6 2004/10/28 01:08:15 xtraeme Exp $ --- include/my_pthread.h.orig 2003-12-14 21:23:47.000000000 +0000 +++ include/my_pthread.h 2003-12-20 12:09:31.000000000 +0000 @@@@ -19,7 +19,13 @@@@ #ifndef _my_pthread_h #define _my_pthread_h +/* defines __NetBSD_Version__ */ +#if defined(__NetBSD__) +#include +#endif + #include +#include #ifndef ETIME #define ETIME ETIMEDOUT /* For FreeBSD */ #endif @@@@ -301,7 +307,11 @@@@ #endif #ifndef HAVE_NONPOSIX_SIGWAIT +#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); #endif @ 1.6 log @Update mysql-{client,server} to 4.0.21 (previously mysql4-*). @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.1.1.1 2003/12/20 16:00:43 martti Exp $ @ 1.5 log @Rework patch-al to let it compile on !NetBSD platforms. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.4 2003/10/05 17:55:34 martti Exp $ d3 3 a5 3 --- include/my_pthread.h.orig Thu Aug 28 13:26:47 2003 +++ include/my_pthread.h Thu Aug 28 13:28:45 2003 @@@@ -20,7 +20,13 @@@@ d19 1 a19 1 @@@@ -294,7 +300,11 @@@@ @ 1.4 log @Updated mysql-server to 3.23.58 A lot of bug and security fixes since 3.23.51... @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.3 2003/01/20 17:48:48 jdolecek Exp $ d23 3 a25 1 +#if defined(__NetBSD__) && (__NetBSD_Version__ >= 106130000) a26 2 +#elif defined (__NetBSD__) && (__NetBSD_Version__ < 106130000) +#define my_sigwait(A,B) __pthread_sigwait((A),(B)) @ 1.3 log @need to include in my_pthread.h to be compilable with native NetBSD threads - header uses sigset_t and not all sources pulling the header pull before my_pthread.h @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 3 --- include/my_pthread.h.orig Mon Jan 20 18:40:49 2003 +++ include/my_pthread.h Mon Jan 20 18:40:58 2003 @@@@ -21,6 +21,7 @@@@ d9 5 d18 12 @ 1.2 log @Update MySQL to 3.22.27. There are a bunch of bug fixes to the server. For a complete list see the documentation. Also, get rid of USE_GMAKE. The normal make works just fine. Delete a whole bunch of patches that have been integrated into the distribution. Update the mit-pthreads patches to use _C_LABEL where appropriate so that mit-pthreads works on ELF and a.out for the affected platforms. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.1 1999/05/06 23:37:01 tv Exp $ d3 4 a6 4 --- mit-pthreads/machdep/netbsd-1.1/__signal.h.orig Tue Apr 23 08:11:39 1996 +++ mit-pthreads/machdep/netbsd-1.1/__signal.h Sat Oct 17 21:41:52 1998 @@@@ -1,8 +1,20 @@@@ #include d8 5 a12 18 +#if NSIG <= 32 #define __SIGEMPTYSET 0 #define __SIGFILLSET 0xffffffff #define __SIGADDSET(s, n) (*(s) |= 1 << ((n) - 1), 0) #define __SIGDELSET(s, n) (*(s) &= ~(1 << ((n) - 1)), 0) #define __SIGISMEMBER(s, n) ((*(s) & (1 << ((n) - 1))) != 0) +#else /* XXX Netbsd >= 1.3H */ +#define __SIGEMPTYSET { 0, 0, 0, 0} +#define __SIGFILLSET { 0xffffffff, 0xffffffff, \ + 0xffffffff, 0xffffffff } +#define __SIGMASK(n) (1 << (((n) - 1) & 31)) +#define __SIGWORD(n) (((n) - 1) >> 5) +#define __SIGADDSET(s, n) ((s)->__bits[__SIGWORD(n)] |= __SIGMASK(n)) +#define __SIGDELSET(s, n) ((s)->__bits[__SIGWORD(n)] &= ~__SIGMASK(n)) +#define __SIGISMEMBER(s, n) (((s)->__bits[__SIGWORD(n)] & __SIGMASK(n)) != 0) + +#endif @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.2 1998/10/29 18:07:38 bad Exp $ @ 1.1.1.1 log @Second half of the split mysql pkg (server). Works on alpha, arm32, i386, and sparc (more to come when this works properly with PTL2). @ text @@