diff options
author | bad <bad@pkgsrc.org> | 1999-04-08 20:08:56 +0000 |
---|---|---|
committer | bad <bad@pkgsrc.org> | 1999-04-08 20:08:56 +0000 |
commit | 11501d92b49b84f6c695922c059939a106ef43c9 (patch) | |
tree | 20e80eeb1001063c85af10b77db4935332f52963 /devel/mit-pthreads/patches | |
parent | 07b5bb4d3dcc8372ab4db3b2b003627620957534 (diff) | |
download | pkgsrc-11501d92b49b84f6c695922c059939a106ef43c9.tar.gz |
Recognise 1.4ish NetBSD in the configure scripts.
Diffstat (limited to 'devel/mit-pthreads/patches')
-rw-r--r-- | devel/mit-pthreads/patches/patch-aj | 38 | ||||
-rw-r--r-- | devel/mit-pthreads/patches/patch-ak | 44 |
2 files changed, 65 insertions, 17 deletions
diff --git a/devel/mit-pthreads/patches/patch-aj b/devel/mit-pthreads/patches/patch-aj index bb763e2f804..775e8beacd5 100644 --- a/devel/mit-pthreads/patches/patch-aj +++ b/devel/mit-pthreads/patches/patch-aj @@ -1,11 +1,17 @@ -$NetBSD: patch-aj,v 1.3 1999/04/08 19:44:59 bad Exp $ +$NetBSD: patch-aj,v 1.4 1999/04/08 20:08:56 bad Exp $ --- config/configure.orig Wed Nov 13 22:03:02 1996 -+++ config/configure Sat Mar 20 22:32:37 1999 -@@ -1049,6 +1049,17 @@ ++++ config/configure Thu Apr 8 21:52:11 1999 +@@ -1049,6 +1049,23 @@ name=$host_cpu-$host_os case $host in ++ alpha-*-netbsd1.4*]) ++ name=alpha-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="fork lseek pipe fstat" ++ available_syscalls="sigsuspend sigprocmask" ++ ;; + alpha-*-netbsd1.3[H-Z]) + name=alpha-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -20,10 +26,16 @@ $NetBSD: patch-aj,v 1.3 1999/04/08 19:44:59 bad Exp $ alpha-*-netbsd1.1* | alpha-*-netbsd1.2*) name=alpha-netbsd-1.1 sysincludes=netbsd-1.1 -@@ -1062,6 +1073,17 @@ +@@ -1062,6 +1079,23 @@ CFLAGS="$CFLAGS -std" fi ;; ++ arm32-*-netbsd1.4*]) ++ name=arm32-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="fork pipe lseek ftruncate fstat" ++ available_syscalls="sigsuspend sigprocmask" ++ ;; + arm32-*-netbsd1.3[H-Z]) + name=arm32-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -38,10 +50,16 @@ $NetBSD: patch-aj,v 1.3 1999/04/08 19:44:59 bad Exp $ hppa1.1-*-hpux*) name=hppa-hpux-9.03 sysincludes=hpux-9.03 -@@ -1092,6 +1114,17 @@ +@@ -1092,6 +1126,23 @@ EOF ;; ++ sparc-*-netbsd1.4*]) ++ name=sparc-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="pipe fork lseek ftruncate fstat" ++ available_syscalls="sigprocmask sigsuspend" ++ ;; + sparc-*-netbsd1.3[H-Z]) + name=sparc-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -56,10 +74,16 @@ $NetBSD: patch-aj,v 1.3 1999/04/08 19:44:59 bad Exp $ sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*) name=sparc-sunos-4.1.3 sysincludes=netbsd-1.0 -@@ -1112,6 +1145,17 @@ +@@ -1112,6 +1163,23 @@ syscall=i386-bsdi-2.0 except="fork lseek sigsuspend" ;; ++ i386-*-netbsd1.4*) ++ name=i386-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="fork lseek ftruncate pipe fstat" ++ available_syscalls="sigsuspend sigprocmask" ++ ;; + i386-*-netbsd1.3[H-Z]) + name=i386-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -74,7 +98,7 @@ $NetBSD: patch-aj,v 1.3 1999/04/08 19:44:59 bad Exp $ i386-*-netbsd1.1* | i386-*-netbsd1.2*) name=i386-netbsd-1.0 sysincludes=netbsd-1.1 -@@ -1697,6 +1741,39 @@ +@@ -1697,6 +1765,39 @@ if test $pthreads_cv_timespec_in_time = yes ; then cat >> confdefs.h <<\EOF #define _OS_HAS_TIMESPEC 1 diff --git a/devel/mit-pthreads/patches/patch-ak b/devel/mit-pthreads/patches/patch-ak index 65fedefa7b8..d2ed7862f9c 100644 --- a/devel/mit-pthreads/patches/patch-ak +++ b/devel/mit-pthreads/patches/patch-ak @@ -1,11 +1,17 @@ -$NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ +$NetBSD: patch-ak,v 1.4 1999/04/08 20:08:56 bad Exp $ --- config/configure.in.orig Wed Nov 13 22:03:08 1996 -+++ config/configure.in Sat Mar 20 22:25:37 1999 -@@ -124,6 +124,17 @@ ++++ config/configure.in Thu Apr 8 21:53:21 1999 +@@ -124,6 +124,23 @@ name=$host_cpu-$host_os case $host in ++ alpha-*-netbsd1.4*) ++ name=alpha-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="fork lseek pipe fstat" ++ available_syscalls="sigsuspend sigprocmask" ++ ;; + alpha-*-netbsd1.3[H-Z]) + name=alpha-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -20,10 +26,16 @@ $NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ alpha-*-netbsd1.1* | alpha-*-netbsd1.2*) name=alpha-netbsd-1.1 sysincludes=netbsd-1.1 -@@ -137,6 +148,17 @@ +@@ -137,6 +154,23 @@ CFLAGS="$CFLAGS -std" fi ;; ++ arm32-*-netbsd1.4*) ++ name=arm32-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="fork pipe lseek ftruncate fstat" ++ available_syscalls="sigsuspend sigprocmask" ++ ;; + arm32-*-netbsd1.3[H-Z]) + name=arm32-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -38,10 +50,16 @@ $NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ hppa1.1-*-hpux*) name=hppa-hpux-9.03 sysincludes=hpux-9.03 -@@ -158,6 +180,17 @@ +@@ -158,6 +192,23 @@ AC_DEFINE(LD_LINKS_STATIC_DATA) AC_DEFINE(BROKEN_SIGNALS) ;; ++ sparc-*-netbsd1.3*) ++ name=sparc-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="pipe fork lseek ftruncate fstat" ++ available_syscalls="sigprocmask sigsuspend" ++ ;; + sparc-*-netbsd1.3[H-Z]) + name=sparc-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -56,10 +74,16 @@ $NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ sparc-*-netbsd1.0A | sparc-*-netbsd1.1* | sparc-*-netbsd1.2*) name=sparc-sunos-4.1.3 sysincludes=netbsd-1.0 -@@ -178,6 +211,17 @@ +@@ -178,6 +229,23 @@ syscall=i386-bsdi-2.0 except="fork lseek sigsuspend" ;; ++ i386-*-netbsd1.4*) ++ name=i386-netbsd-1.4 ++ sysincludes=netbsd-1.1 ++ except="fork lseek ftruncate pipe fstat" ++ available_syscalls="sigsuspend sigprocmask" ++ ;; + i386-*-netbsd1.3[H-Z]) + name=i386-netbsd-1.3 + sysincludes=netbsd-1.1 @@ -74,10 +98,11 @@ $NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ i386-*-netbsd1.1* | i386-*-netbsd1.2*) name=i386-netbsd-1.0 sysincludes=netbsd-1.1 -@@ -305,6 +349,16 @@ +@@ -304,6 +372,16 @@ + AC_MSG_RESULT($pthreads_cv_timespec_in_time) if test $pthreads_cv_timespec_in_time = yes ; then AC_DEFINE(_OS_HAS_TIMESPEC) - fi ++fi + +dnl socklen_t +AC_CACHE_VAL(pthreads_cv_socklen_t, @@ -87,7 +112,6 @@ $NetBSD: patch-ak,v 1.3 1999/04/08 19:44:36 bad Exp $ +AC_MSG_RESULT($pthreads_cv_socklen_t) +if test $pthreads_cv_socklen_t = yes ; then + AC_DEFINE(_OS_HAS_SOCKLEN_T) -+fi + fi - dnl |