diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-10-11 20:44:46 +0800 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-10-11 20:44:46 +0800 |
commit | bb384b6fc2efb1dbbe27cdfa003b9fa59007b4d9 (patch) | |
tree | 426a237c490f3c16771c375b55e717afdd984237 | |
parent | 13a71cd924290518c89a5bc2f23f0040cbd4cebd (diff) | |
download | freebsd-ports-gnome-bb384b6fc2efb1dbbe27cdfa003b9fa59007b4d9.tar.gz freebsd-ports-gnome-bb384b6fc2efb1dbbe27cdfa003b9fa59007b4d9.tar.zst freebsd-ports-gnome-bb384b6fc2efb1dbbe27cdfa003b9fa59007b4d9.zip |
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.
-rw-r--r-- | net/sharity-light/files/patch-ae | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/sharity-light/files/patch-ae b/net/sharity-light/files/patch-ae new file mode 100644 index 000000000000..6589d7f90c2d --- /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 <nfs/rpcv2.h> +-# include <nfs/nfs.h> ++# 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 <nfsclient/nfs.h> ++# else ++# include <nfs/nfs.h> ++# endif + #endif + int syscall_mount(char *dir, void *root_fh, int sock_fd, + struct sockaddr_in *socket, char *mntfrom) |