openbsd-ports/net/sharity-light/patches/patch-nfs-version
jasper e8476230bf - fix 64-bit issue due to a missing header
- specify license version
- regen PLIST
- add missing rcs id's
2009-04-01 16:24:05 +00:00

13 lines
441 B
Plaintext

$OpenBSD: patch-nfs-version,v 1.4 2009/04/01 16:24:05 jasper Exp $
--- 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;