diff options
Diffstat (limited to 'databases/mysql/patches/patch-ah')
-rw-r--r-- | databases/mysql/patches/patch-ah | 51 |
1 files changed, 45 insertions, 6 deletions
diff --git a/databases/mysql/patches/patch-ah b/databases/mysql/patches/patch-ah index 7a43d41698f..fc58ed85a78 100644 --- a/databases/mysql/patches/patch-ah +++ b/databases/mysql/patches/patch-ah @@ -1,7 +1,7 @@ -$NetBSD: patch-ah,v 1.1 1998/10/28 18:18:08 bad Exp $ +$NetBSD: patch-ah,v 1.2 1999/04/08 21:54:36 bad Exp $ --- mit-pthreads/config/configure.orig Tue Mar 10 10:11:25 1998 -+++ mit-pthreads/config/configure Sun Oct 25 20:33:39 1998 ++++ mit-pthreads/config/configure Sun Mar 21 00:23:46 1999 @@ -1165,6 +1165,12 @@ name=$host_cpu-$host_os @@ -51,16 +51,55 @@ $NetBSD: patch-ah,v 1.1 1998/10/28 18:18:08 bad Exp $ sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*) name=sparc-sunos-4.1.3 sysincludes=netbsd-1.0 -@@ -1256,6 +1284,12 @@ - sysincludes=bsdi-2.0 +@@ -1257,6 +1285,12 @@ syscall=i386-bsdi-2.0 except="fork lseek ftruncate sigsuspend" -+ ;; + ;; + i386-*-netbsd1.3[H-Z]) + name=i386-netbsd-1.3 + sysincludes=netbsd-1.1 + except="fork lseek ftruncate pipe fstat" + available_syscalls="sigsuspend sigprocmask" - ;; ++ ;; i386-*-netbsd1.3*) name=i386-netbsd-1.3 + sysincludes=netbsd-1.1 +@@ -1898,6 +1932,38 @@ + if test $pthreads_cv_timespec_in_time = yes ; then + cat >> confdefs.h <<\EOF + #define _OS_HAS_TIMESPEC 1 ++EOF ++fi ++ ++echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 ++if eval "test \"`echo '$''{'pthreads_cv_socklen_t'+set}'`\" = set"; then ++ echo $ac_n "(cached) $ac_c" 1>&6 ++else ++ cat > conftest.$ac_ext <<EOF ++#line 1678 "configure" ++#include "confdefs.h" ++#include <sys/types.h> ++#include <sys/socket.h> ++int main() { return 0; } ++int t() { ++socklen_t foo; ++; return 0; } ++EOF ++if { (eval echo configure:1686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++ rm -rf conftest* ++ pthreads_cv_socklen_t=yes ++else ++ rm -rf conftest* ++ pthreads_cv_socklen_t=no ++fi ++rm -f conftest* ++ ++fi ++ ++echo "$ac_t""$pthreads_cv_socklen_t" 1>&6 ++if test $pthreads_cv_socklen_t = yes ; then ++ cat >> confdefs.h <<\EOF ++#define _OS_HAS_SOCKLEN_T 1 + EOF + + fi |