head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.16 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.14 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.12 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.10 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.8 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.6 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.4 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.2 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.3.0.22 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.20 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.18 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.16 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.14 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.12 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.10 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.4 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2008.05.29.20.25.54; author tnn; state dead; branches; next 1.3; 1.3 date 2005.09.06.08.10.59; author abs; state Exp; branches; next 1.2; 1.2 date 2005.03.03.12.01.30; author garbled; state Exp; branches; next 1.1; 1.1 date 2004.06.24.17.32.14; author drochner; state Exp; branches; next ; desc @@ 1.4 log @Update to mpich2-1.0.7. From pkgsrc-wip, contributed by Aleksej Saushev. MPICH2 is an all-new implementation of MPI from the group at Argonne National Laboratory. It shares many goals with the original MPICH but no actual code. It is a portable, high-performance implementation of the entire MPI-2 standard. This release has all MPI-2 functions and features required by the standard with the exception of support for the "external32" portable I/O format. @ text @$NetBSD: patch-ca,v 1.3 2005/09/06 08:10:59 abs Exp $ --- romio/adio/common/ad_fstype.c.orig 2003-09-04 13:24:44.000000000 -0700 +++ romio/adio/common/ad_fstype.c 2004-10-15 09:54:55.000000000 -0700 @@@@ -11,7 +11,15 @@@@ */ #include "adio.h" -#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY)) +#ifdef __NetBSD__ +#include +#if __NetBSD_Version__ >= 299000900 +#define NETBSD_STATVFS +#define f_basetype f_fstypename +#endif +#endif + +#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY) || defined(NETBSD_STATVFS)) #include #endif #ifdef LINUX @@@@ -159,10 +167,10 @@@@ char *dir; int err; #endif -#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY)) +#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY) || defined(NETBSD_STATVFS)) struct statvfs vfsbuf; #endif -#if (defined(LINUX) || defined(FREEBSD) || defined(tflops)) +#if (defined(LINUX) || defined(FREEBSD) || defined(tflops)) && !defined(NETBSD_STATVFS) struct statfs fsbuf; #endif #ifdef PARAGON @@@@ -174,7 +182,7 @@@@ *error_code = MPI_SUCCESS; -#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY)) +#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY) || defined(NETBSD_STATVFS)) do { err = statvfs(filename, &vfsbuf); } while (err && (errno == ESTALE)); @@@@ -226,7 +234,7 @@@@ #endif else *fstype = ADIO_UFS; } -#elif (defined(FREEBSD) && defined(HAVE_MOUNT_NFS)) +#elif (defined(FREEBSD) && defined(HAVE_MOUNT_NFS)) && !defined(NETBSD_STATVFS) do { err = statfs(filename, &fsbuf); } while (err && (errno == ESTALE)); @ 1.3 log @Fix NetBSD statvfs check to be >= 299000900 not >= 200040000 No pkgrevision bumps needed. @ text @d1 1 a1 1 $NetBSD: patch-ca,v 1.2 2005/03/03 12:01:30 garbled Exp $ @ 1.2 log @update mpich to 1.2.6, with most work provided by Phil Nelson in PR pkg/27273 with some minor PLIST and etc fixes by me. @ text @d1 1 a1 1 $NetBSD$ d11 1 a11 1 +#if __NetBSD_Version__ >= 200040000 @ 1.1 log @make this build on -current again (statfs->statvfs) @ text @d2 4 a5 4 --- romio/adio/common/ad_fstype.c.orig 2002-12-04 00:38:23.000000000 +0100 +++ romio/adio/common/ad_fstype.c @@@@ -12,7 +12,15 @@@@ a7 1 d21 1 a21 1 @@@@ -143,10 +151,10 @@@@ static void ADIO_FileSysType_fncall(char d26 1 a26 1 +#if (defined(HPUX) || defined(SPPUX) || defined(IRIX) || defined(SOLARIS) || defined(AIX) || defined(DEC) || defined(CRAY) || defined(NETBSD_STATVFS)) d34 1 a34 1 @@@@ -158,7 +166,7 @@@@ static void ADIO_FileSysType_fncall(char d43 2 a44 2 @@@@ -207,7 +215,7 @@@@ static void ADIO_FileSysType_fncall(char # endif @