summaryrefslogtreecommitdiff
path: root/net/sharity-light/files/patch-ae
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-20 14:45:13 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-20 14:45:13 +0000
commitcfdb18dc04ef4b93b54ed0e11206bcf58e862083 (patch)
treecaf46a713cb9837fd9aa2b8470c59afdb13442dd /net/sharity-light/files/patch-ae
parentFix plist. (diff)
Fix build after recent NFS code change in -CURRENT.
PR: 59425 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes: svn path=/head/; revision=94471
Diffstat (limited to '')
-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>