diff options
| author | Kevin Lo <kevlo@FreeBSD.org> | 2000-09-09 10:16:23 +0000 |
|---|---|---|
| committer | Kevin Lo <kevlo@FreeBSD.org> | 2000-09-09 10:16:23 +0000 |
| commit | 3200893ef6955d79273c40b166e3603e7ca61382 (patch) | |
| tree | 331d21804052232b16bda913022b851ef361949f /net/mpich/files/patch-aa | |
| parent | Fix some omission for Makefile and PLIST. (diff) | |
Update to version 1.2.1
PR: 21102
Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=32460
Diffstat (limited to 'net/mpich/files/patch-aa')
| -rw-r--r-- | net/mpich/files/patch-aa | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/net/mpich/files/patch-aa b/net/mpich/files/patch-aa index f529089ca956..6159ecbb0edf 100644 --- a/net/mpich/files/patch-aa +++ b/net/mpich/files/patch-aa @@ -1,14 +1,13 @@ ---- 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; +--- romio/adio/common/ad_fstype.c-orig Wed Jul 19 16:38:31 2000 ++++ romio/adio/common/ad_fstype.c Thu Sep 7 18:47:44 2000 +@@ -26,8 +26,10 @@ + #ifdef SX4 + #include <sys/stat.h> + #endif ++#ifndef FREEBSD + #ifdef PVFS + #include "pvfs_config.h" +#endif - else *fstype = ADIO_UFS; - *error_code = MPI_SUCCESS; - } + #endif + + void ADIO_FileSysType(char *filename, int *fstype, int *error_code) |
