1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/net/mpich/files/patch-aa
Chuck Robey ad07b38b81 Update net/mpich to version 1.1.2. The examples/test directory now
compiiles and runs, too!
PR:		8364 and 10076
Submitted by:	David Bader  <dbader@eece.unm.edu>
1999-02-15 23:39:21 +00:00

15 lines
430 B
Plaintext

--- romio/adio/common/ad_fstype.c.orig Mon Jun 15 13:45:25 1998
+++ romio/adio/common/ad_fstype.c Mon Oct 19 16:23:55 1998
@@ -91,7 +91,11 @@
if (err) *error_code = MPI_ERR_UNKNOWN;
else {
+#if (__FreeBSD_version>300004)
+ if ( !strncmp("nfs",fsbuf.f_fstypename,3) ) *fstype = ADIO_NFS;
+#else
if (fsbuf.f_type == MOUNT_NFS) *fstype = ADIO_NFS;
+#endif
else *fstype = ADIO_UFS;
*error_code = MPI_SUCCESS;
}