Date: Tue, 18 Nov 2003 17:58:22 +0100 From: "Clement Laforet" <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Clement Laforet <sheepkiller@cultdeadsheep.org> Subject: ports/59425: [fix] net/sharity-light: Fix build due to recent change on NFS code Message-ID: <20031118165822.5645643FE1@mx1.FreeBSD.org> Resent-Message-ID: <200311181700.hAIH0WXr039727@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031118165822.5645643FE1>