ports/59425: [fix] net/sharity-light: Fix build due to recent change on NFS code
Clement Laforet
sheepkiller at cultdeadsheep.org
Tue Nov 18 17:00:41 UTC 2003
>Number: 59425
>Category: ports
>Synopsis: [fix] net/sharity-light: Fix build due to recent change on NFS code
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 18 09:00:31 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Tue Jan 21 01:15:24 CET 2003 root at lucifer.cultdeadsheep.org:/usr/src/sys/i386/compile/LUCIFER i386
>Description:
Fix Compilation due to NFSv4 import.
>How-To-Repeat:
See:
http://bento.freebsd.org/errorlogs/i386-5-latest/sharity-light-1.2_1.log
>Fix:
--- sharity-light.diff begins here ---
Index: sharity-light/files/patch-ae
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/net/sharity-light/files/patch-ae,v
retrieving revision 1.1
diff -u -r1.1 patch-ae
--- sharity-light/files/patch-ae 11 Oct 2001 12:44:46 -0000 1.1
+++ sharity-light/files/patch-ae 18 Nov 2003 16:52:42 -0000
@@ -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>
--- sharity-light.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list