openbsd-ports/net/sharity-light/patches/patch-nfs-version
merdely 50ae15753d Update to sharity-light 1.3.
Mostly from Pea < pea - raveland + org >
Added patch to show the right version.

ok okan@
2008-02-13 23:01:23 +00:00

12 lines
374 B
Plaintext

--- 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;