Date: Wed, 21 Nov 2001 16:03:49 +0000 From: Brian Somers <brian@freebsd-services.com> To: "John W. De Boskey" <jwd@FreeBSD.ORG> Cc: Current List <freebsd-current@FreeBSD.ORG>, John Polstra <jdp@polstra.com> Subject: Re: cvsup-devel port build problem (pm3-base) Message-ID: <200111211603.fALG3nj06238@hak.lan.Awfulhak.org> In-Reply-To: Message from "John W. De Boskey" <jwd@FreeBSD.ORG> of "Sun, 18 Nov 2001 21:40:32 PST." <20011118214032.A82262@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I sent John Polstra a similar patch some time ago.... Any news about getting this committed John (P) ? > Hi, > > I ran into some problems building the cvsup-devel > port. In one of it's dependants, the c file is attempting > to include <nfs/nfs.h> which is nolonger valid. > > /usr/ports/lang/pm3-base/work/pm3-1.1.15/boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c > > As a quick fix I symlinked nfs.h -> ../nfsclient/nfs.h > which allowed the compile to complete. > > The following more generic/correct fix could probably > be dropped into the files directory as patch-XX: > > --- RTHeapDepC.c.orig Mon Nov 19 00:27:30 2001 > +++ RTHeapDepC.c Mon Nov 19 00:28:21 2001 > @@ -98,7 +98,11 @@ > #include <sys/time.h> > #include <nfs/rpcv2.h> > #include <nfs/nfsproto.h> > +#if __FreeBSD__ >= 5 > +#include <nfsclient/nfs.h> > +#else > #include <nfs/nfs.h> > +#endif > #include <ufs/ufs/ufsmount.h> > #endif > > > -John > > ps: I also ran into problems with libutil.h but I haven't > determined where the actual problem is coming from. > Copying /usr/src/lib/libutil/libutil.h to /usr/include > avoids the immediate problem. -- Brian <brian@freebsd-services.com> <brian@Awfulhak.org> http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111211603.fALG3nj06238>