From bb384b6fc2efb1dbbe27cdfa003b9fa59007b4d9 Mon Sep 17 00:00:00 2001 From: sheldonh Date: Thu, 11 Oct 2001 12:44:46 +0000 Subject: Fix sharity-light for the new world order in -CURRENT, where NFS has been split into nfsclient and nfsserver. This fix still leaves a 2 week window of breakage, because __FreeBSD_version wasn't bumped for the change. --- net/sharity-light/files/patch-ae | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net/sharity-light/files/patch-ae (limited to 'net/sharity-light') diff --git a/net/sharity-light/files/patch-ae b/net/sharity-light/files/patch-ae new file mode 100644 index 0000000..6589d7f --- /dev/null +++ b/net/sharity-light/files/patch-ae @@ -0,0 +1,20 @@ +--- nfs/syscalls.c.orig Thu Oct 11 14:20:28 2001 ++++ nfs/syscalls.c Thu Oct 11 14:20:33 2001 +@@ -56,7 +56,16 @@ + #define NFSX_V2FH 32 + #ifdef BSD4_4_LITE2 + # include +-# include ++# if (__FreeBSD_version >= 500024) ++# ++# /* XXX __FreeBSD_version 500024 is the closest we have to the ++# NFS reorganization that took place 2001-09-18. This leaves ++# a 2 week window. */ ++# ++# include ++# else ++# include ++# endif + #endif + int syscall_mount(char *dir, void *root_fh, int sock_fd, + struct sockaddr_in *socket, char *mntfrom) -- cgit v1.1