How to patch the kernel?

RW fbsd06 at mlists.homeunix.com
Thu Jan 3 21:30:21 PST 2008


On Thu, 3 Jan 2008 19:53:18 -0500
"Lyle Scott III" <portcitycs at gmail.com> wrote:

> I don't have much experience patching anything, really.
> 
> I was told by the port security/ipsec-tools to patch the kernel if i
> wanted to use nat-transversals.
> 
> they provide me with
> http://vanhu.free.fr/FreeBSD/patch-natt-freebsd6-2007-05-31.diff, but
> I am now sure how to patch up the kernel so I can do a buildworld.
> 
> Any help would be much appreciated.  I took a quick read over the
> patch manpage, but simply 'patch < file' in /usr/src askes me what
> file to patch...

Try /usr/src/sys/ instead, that's where the kernel source is.



More information about the freebsd-questions mailing list