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 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message