From owner-freebsd-current Sun Nov 18 21:40:36 2001 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 821) id A4C9C37B405; Sun, 18 Nov 2001 21:40:32 -0800 (PST) Date: Sun, 18 Nov 2001 21:40:32 -0800 From: "John W. De Boskey" To: Current List Subject: cvsup-devel port build problem (pm3-base) Message-ID: <20011118214032.A82262@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message