openbsd-ports/net/sharity-light/patches/patch-nfs-version

12 lines
374 B
Plaintext
Raw Normal View History

--- nfs/syscalls.c.orig Mon Dec 29 06:11:57 2003
+++ nfs/syscalls.c Wed Feb 13 16:47:13 2008
@@ -78,7 +78,7 @@ struct nfs_args nfs_args;
#endif
bzero(&nfs_args, sizeof(nfs_args));
-#if defined(BSD4_4_LITE2) || defined(NETBSD)
+#if defined(BSD4_4_LITE2) || defined(NETBSD) || defined(__OpenBSD__)
nfs_args.version = NFS_ARGSVERSION;
#endif
nfs_args.wsize = 8192;