diff options
Diffstat (limited to 'parallel/sge/patches/patch-bj')
-rw-r--r-- | parallel/sge/patches/patch-bj | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/parallel/sge/patches/patch-bj b/parallel/sge/patches/patch-bj new file mode 100644 index 00000000000..ea2078c6baf --- /dev/null +++ b/parallel/sge/patches/patch-bj @@ -0,0 +1,13 @@ +$NetBSD: patch-bj,v 1.1 2006/10/19 11:51:27 markd Exp $ + +--- source/daemons/common/err_trace.c.orig 2005-11-24 00:03:58.000000000 +1300 ++++ source/daemons/common/err_trace.c +@@ -962,7 +962,7 @@ static bool nfs_mounted(const char *path + { + bool ret=true; + +-#if defined(LINUX) || defined(DARWIN) || defined(FREEBSD) || defined(NETBSD) ++#if defined(LINUX) || defined(DARWIN) || defined(FREEBSD) || (defined(NETBSD) && !defined(ST_RDONLY)) + struct statfs buf; + statfs(path, &buf); + #elif defined(INTERIX) |