diff options
author | rh <rh@pkgsrc.org> | 1999-11-15 17:32:06 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 1999-11-15 17:32:06 +0000 |
commit | ec5cd59f3fd02e8aeaa9e75561a7ac13f9c8b99a (patch) | |
tree | 6a74319b3731656c5600df4e52a5e806e69dd813 /databases | |
parent | cbd3f54c2853ff736b85d7eca34b61ee45756156 (diff) | |
download | pkgsrc-ec5cd59f3fd02e8aeaa9e75561a7ac13f9c8b99a.tar.gz |
defuzz
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql-server/files/patch-sum | 4 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-be | 27 |
2 files changed, 12 insertions, 19 deletions
diff --git a/databases/mysql-server/files/patch-sum b/databases/mysql-server/files/patch-sum index 020309e31ec..6a061573c58 100644 --- a/databases/mysql-server/files/patch-sum +++ b/databases/mysql-server/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.2 1999/08/03 20:33:52 bad Exp $ +$NetBSD: patch-sum,v 1.3 1999/11/15 17:32:06 rh Exp $ MD5 (patch-aa) = ad4fe0302fbab85a9e9904f06945412a MD5 (patch-ab) = 8446222f95bd6f72618f28313803a6eb @@ -25,7 +25,7 @@ MD5 (patch-az) = 646116cda551435bf4ad97e5b9739842 MD5 (patch-ba) = 9c0f614b8a966c089b8e4d2d6e975e5e MD5 (patch-bc) = 6e4107221cb116e84055511098ba3fde MD5 (patch-bd) = 8341119fc27fe12e74ca6536672e6427 -MD5 (patch-be) = a3272f18e63d0dbdb73a8396847c9a5d +MD5 (patch-be) = 3de973d83fda9d00ef151aa39093074f MD5 (patch-bf) = 8818adb013190eea8648222cc86476c5 MD5 (patch-bg) = d625bb949765958d9ad60c413a599a38 MD5 (patch-bh) = 3cac847c3008c633cf8970d9dd46a1be diff --git a/databases/mysql-server/patches/patch-be b/databases/mysql-server/patches/patch-be index 2ae2ee23871..79ed053b28c 100644 --- a/databases/mysql-server/patches/patch-be +++ b/databases/mysql-server/patches/patch-be @@ -1,7 +1,7 @@ $NetBSD$ ---- mit-pthreads/machdep/engine-m68000-netbsd.h.orig Tue Nov 8 16:39:15 1994 -+++ mit-pthreads/machdep/engine-m68000-netbsd.h Wed Jul 7 04:29:09 1999 +--- mit-pthreads/machdep/engine-m68000-netbsd.h.orig Sun Oct 12 14:07:37 1997 ++++ mit-pthreads/machdep/engine-m68000-netbsd.h Mon Nov 15 18:25:36 1999 @@ -3,6 +3,9 @@ * * $Id: engine-m68000-netbsd.h,v 1.51 1994/11/08 15:39:15 proven Exp $ @@ -12,24 +12,19 @@ $NetBSD$ */ #include <unistd.h> -@@ -16,14 +19,14 @@ - #define SEMAPHORE_CLEAR 0 - #define SEMAPHORE_SET 0x80; +@@ -18,12 +21,12 @@ --#define SEMAPHORE_TEST_AND_SET(lock) \ --({ \ + #define SEMAPHORE_TEST_AND_SET(lock) \ + ({ \ -volatile long temp = SEMAPHORE_CLEAR; \ - \ -__asm__ volatile("tas (%2); bpl 0f; movl #1,%0; 0:" \ -- :"=r" (temp) \ -- :"0" (temp),"r" (lock)); \ --temp; \ -+#define SEMAPHORE_TEST_AND_SET(lock) \ -+({ \ + volatile long temp = SEMAPHORE_CLEAR; \ + __asm__ volatile( \ + "tas %2; bpl 0f; movl #1,%0; 0:" \ -+ :"=r" (temp) \ + :"=r" (temp) \ +- :"0" (temp),"r" (lock)); \ +-temp; \ + :"0" (temp),"m" (*lock)); \ + temp; \ }) @@ -56,11 +51,10 @@ $NetBSD$ * Static machdep_pthread initialization values. * For initial thread only. */ -@@ -70,7 +80,27 @@ +@@ -70,6 +80,26 @@ #if defined(PTHREAD_KERNEL) --int machdep_save_state __P_((void)); + +#ifndef __machdep_stack_get +#define __machdep_stack_get(x) (x)->machdep_stack @@ -81,7 +75,6 @@ $NetBSD$ +void * __machdep_stack_alloc __P_((size_t)); +void __machdep_stack_free __P_((void *)); + -+int machdep_save_state __P_((void)); + int machdep_save_state __P_((void)); #endif - |