Re: INCLUDE_CONFIG_FILE patches

From: Wojciech A. Koszek <wkoszek_at_freebsd.org>
Date: Mon, 7 May 2007 17:25:54 +0000
On Mon, May 07, 2007 at 07:46:29PM +0400, pluknet wrote:
> Hello,
> 

[..]

> 
> While in buildworld (namely in 'make depend' in usr.sbin/config)
> I get the following error:
> 
> ===> usr.sbin/config (obj,depend,all,install)
> /usr/obj/usr/src/tmp/usr/src/usr.sbin/config created for
> /usr/src/usr.sbin/config
> yacc -d /usr/src/usr.sbin/config/config.y
> cp y.tab.c config.c
> lex -t  /usr/src/usr.sbin/config/lang.l > lang.c
> file2c 'char kernconfstr[] = {' ',0};' < kernconf.tmpl > kernconf.c
> cannot open kernconf.tmpl: No such file or directory
> 
> It disappears, if I put manually kernconf.tmpl in generated
> /usr/obj/usr/src/tmp/usr/src/usr.sbin/config
> Maybe I forgot something?

I belive you should have run patch(1) command with -p0 argument:

	patch -p0 < patchfile

Keep up testing!

Thanks,

-- 
Wojciech A. Koszek
wkoszek_at_FreeBSD.org
http://FreeBSD.czest.pl/dunstan/
Received on Mon May 07 2007 - 14:51:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC