aboutsummaryrefslogtreecommitdiff
path: root/net/sharity-light
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-05-04 10:42:11 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-05-04 10:42:11 +0000
commitb81de764116dbccade13726d0b90fc82f2f5a5c1 (patch)
tree83218d2eee47127a8b530d1509bedc479f97d5a8 /net/sharity-light
parent32de085a3a78c9fb2d4590ac928e81136126f80a (diff)
downloadports-b81de764116dbccade13726d0b90fc82f2f5a5c1.tar.gz
ports-b81de764116dbccade13726d0b90fc82f2f5a5c1.zip
Notes
Diffstat (limited to 'net/sharity-light')
-rw-r--r--net/sharity-light/files/patch-ae21
1 files changed, 19 insertions, 2 deletions
diff --git a/net/sharity-light/files/patch-ae b/net/sharity-light/files/patch-ae
index 5c117215c290..f7ac372b96cd 100644
--- a/net/sharity-light/files/patch-ae
+++ b/net/sharity-light/files/patch-ae
@@ -1,5 +1,5 @@
---- nfs/syscalls.c.orig Tue Jun 30 12:24:56 1998
-+++ nfs/syscalls.c Tue Nov 18 16:52:35 2003
+--- nfs/syscalls.c.orig Tue Jun 30 14:24:56 1998
++++ nfs/syscalls.c Sat May 1 14:30:02 2004
@@ -12,8 +12,10 @@
#define NFSCLIENT
#include "syshdr.h"
@@ -30,3 +30,20 @@
#endif
int syscall_mount(char *dir, void *root_fh, int sock_fd,
struct sockaddr_in *socket, char *mntfrom)
+@@ -103,6 +114,8 @@
+ # define VFCERROR !vfc
+ # define VFCNFSNAME vfc->vfc_index
+ # endif
++
++#if __FreeBSD_version < 502111
+ GETVFSBYNAME;
+ if (VFCERROR && vfsisloadable("nfs")) {
+ if(vfsload("nfs"))
+@@ -112,6 +125,7 @@
+ }
+ if (VFCERROR)
+ return -1;
++#endif
+ return mount(VFCNFSNAME, dir, 0, &nfs_args);
+ #else /* __FreeBSD__ */
+ return mount(NFSNAME, dir, 0, &nfs_args);