From owner-freebsd-current Mon May 27 8:29:17 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 7647137B405; Mon, 27 May 2002 08:29:13 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.3/8.12.3) with ESMTP id g4RFSx9O059470; Mon, 27 May 2002 19:29:07 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.3/Submit) id g4RFSwK6059469; Mon, 27 May 2002 19:28:58 +0400 (MSD) Date: Mon, 27 May 2002 19:28:57 +0400 From: "Andrey A. Chernov" To: current@FreeBSD.ORG Cc: obrien@FreeBSD.ORG Subject: Patch for review (was Re: Junk in new gcc include path) Message-ID: <20020527152857.GA59437@nagual.pp.ru> References: <20020525201528.GA41180@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020525201528.GA41180@nagual.pp.ru> User-Agent: Mutt/1.3.28i 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 Please review this patch, it fix one reported problem: --- cc_tools/auto-host.h.bak Sat May 18 16:30:17 2002 +++ cc_tools/auto-host.h Mon May 27 19:23:37 2002 @@ -87,7 +87,7 @@ /* #undef ssize_t */ /* Define if cpp should also search $prefix/include. */ -#define PREFIX_INCLUDE_DIR "NONE/include" +/* #undef PREFIX_INCLUDE_DIR */ /* Define if you have the __argz_count function. */ /* #undef HAVE___ARGZ_COUNT */ On Sun, May 26, 2002 at 00:15:29 +0400, Andrey A. Chernov wrote: > Does anybody else saw this too? > I just run 'cc -v hello.c' (printing Hello, world) and see: > ... > GNU C version 3.1 [FreeBSD] 20020509 (prerelease) > (i386-undermydesk-freebsd) > compiled by GNU C version 2.95.4 20020320 [FreeBSD]. > ignoring nonexistent directory "NONE/include" > ignoring duplicate directory "/usr/include" > ... > > It seems junk "NONE/include" is in the include path and "/usr/include" > present there twice. Please fix this thing. Especially if project have > NONE directory... -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message