From owner-freebsd-current Wed Nov 21 8: 4: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 85BCA37B419; Wed, 21 Nov 2001 08:04:00 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id fALG3pP08018; Wed, 21 Nov 2001 16:03:54 GMT (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id fALG3nj06238; Wed, 21 Nov 2001 16:03:49 GMT (envelope-from brian@freebsd-services.com) Message-Id: <200111211603.fALG3nj06238@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "John W. De Boskey" Cc: Current List , John Polstra Subject: Re: cvsup-devel port build problem (pm3-base) In-Reply-To: Message from "John W. De Boskey" of "Sun, 18 Nov 2001 21:40:32 PST." <20011118214032.A82262@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Nov 2001 16:03:49 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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 > #include > #include > +#if __FreeBSD__ >= 5 > +#include > +#else > #include > +#endif > #include > #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 http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message