aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-20 22:45:13 +0800
committermarcus <marcus@FreeBSD.org>2003-11-20 22:45:13 +0800
commitf30dc00640d9c0708d66389c1179c89550223483 (patch)
tree67b94322bd811189c539a223b8f6a3fc7a6349d1 /net
parent17c875b9660d815cd45107444d0d45d44894600c (diff)
downloadfreebsd-ports-gnome-f30dc00640d9c0708d66389c1179c89550223483.tar.gz
freebsd-ports-gnome-f30dc00640d9c0708d66389c1179c89550223483.tar.zst
freebsd-ports-gnome-f30dc00640d9c0708d66389c1179c89550223483.zip
Fix build after recent NFS code change in -CURRENT.
PR: 59425 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'net')
-rw-r--r--net/sharity-light/files/patch-ae18
1 files changed, 15 insertions, 3 deletions
diff --git a/net/sharity-light/files/patch-ae b/net/sharity-light/files/patch-ae
index 6589d7f90c2d..5c117215c290 100644
--- a/net/sharity-light/files/patch-ae
+++ b/net/sharity-light/files/patch-ae
@@ -1,6 +1,18 @@
---- 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 @@
+--- nfs/syscalls.c.orig Tue Jun 30 12:24:56 1998
++++ nfs/syscalls.c Tue Nov 18 16:52:35 2003
+@@ -12,8 +12,10 @@
+ #define NFSCLIENT
+ #include "syshdr.h"
+ #include <rpc/rpc.h>
+-#if !(defined HP || defined IRIX)
++#if !(defined HP || defined IRIX || __FreeBSD_version >= 501113)
+ #include "nfs_prot.h"
++#else
++#include <nfs/nfsproto.h>
+ #endif
+ #include <netdb.h>
+ #include <arpa/inet.h>
+@@ -56,7 +58,16 @@
#define NFSX_V2FH 32
#ifdef BSD4_4_LITE2
# include <nfs/rpcv2.h>