diff options
Diffstat (limited to 'devel/mit-pthreads/patches/patch-ak')
-rw-r--r-- | devel/mit-pthreads/patches/patch-ak | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/devel/mit-pthreads/patches/patch-ak b/devel/mit-pthreads/patches/patch-ak index 066ed45a9e6..65fedefa7b8 100644 --- a/devel/mit-pthreads/patches/patch-ak +++ b/devel/mit-pthreads/patches/patch-ak @@ -1,7 +1,7 @@ -$NetBSD: patch-ak,v 1.2 1998/12/28 22:22:00 bad Exp $ +$NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ --- config/configure.in.orig Wed Nov 13 22:03:08 1996 -+++ config/configure.in Mon Dec 28 22:16:39 1998 ++++ config/configure.in Sat Mar 20 22:25:37 1999 @@ -124,6 +124,17 @@ name=$host_cpu-$host_os @@ -56,11 +56,10 @@ $NetBSD: patch-ak,v 1.2 1998/12/28 22:22:00 bad Exp $ sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*) name=sparc-sunos-4.1.3 sysincludes=netbsd-1.0 -@@ -177,6 +210,17 @@ - sysincludes=bsdi-2.0 +@@ -178,6 +211,17 @@ syscall=i386-bsdi-2.0 except="fork lseek sigsuspend" -+ ;; + ;; + i386-*-netbsd1.3[H-Z]) + name=i386-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -71,6 +70,24 @@ $NetBSD: patch-ak,v 1.2 1998/12/28 22:22:00 bad Exp $ + name=i386-netbsd-1.3 + sysincludes=netbsd-1.1 + except="fork lseek ftruncate pipe sigsuspend sigprocmask fstat" - ;; ++ ;; i386-*-netbsd1.1* | i386-*-netbsd1.2*) name=i386-netbsd-1.0 + sysincludes=netbsd-1.1 +@@ -305,6 +349,16 @@ + if test $pthreads_cv_timespec_in_time = yes ; then + AC_DEFINE(_OS_HAS_TIMESPEC) + fi ++ ++dnl socklen_t ++AC_CACHE_VAL(pthreads_cv_socklen_t, ++ AC_TRY_COMPILE([#include <sys/types.h> ++#include <sys/socket.h>], [socklen_t foo;], ++ pthreads_cv_socklen_t=yes, pthreads_cv_socklen_t=no)) ++AC_MSG_RESULT($pthreads_cv_socklen_t) ++if test $pthreads_cv_socklen_t = yes ; then ++ AC_DEFINE(_OS_HAS_SOCKLEN_T) ++fi + + + dnl |