Subject: Re: UVM and patches
To: Timothy Coltman <timothy.coltman@unn.ac.uk>
From: Mike Pumford <mpumford@mpc-data.co.uk>
List: port-arm32
Date: 06/11/1998 11:59:09
Timothy Coltman wrote:
> 
> Hello, all.
> 
> I've just downloaded the UVM files from a mirror of ftp.netbsd.org (at
> src.doc.ic.ac.uk). There is a directory in the 'snapshot/UVM19980606'
> directory called 'patches' which contains the following files:
> 
> libgcc2.c.patch
> usr.sbin.patch
> c++rt0.c.patch
> ld.patch
> 
>
> From reading them, they seem to add/alter bits of existing files on
> RiscBSD. But how do I install them/get them working properly?
>
You use patch to apply them. They are only of use if you want to rebuild the
OS from source. They are not required if you just want to used the snapshot
UVM binaries.

For example the ld.patch would be applied liked this:

% cd /usr/src/gnu/usr.bin/ld
% patch <ld.patch

[Patch reports what is being patched and how]

If I remember correctly the patches need to be applied as follows
Patch            Directory
libgcc2.c.patch  /usr/src/gnu/usr.bin
usr.sbin.patch   /usr/src/usr.sbin
c++rt0c.patch    /usr/src/usr/lib/csu/c++
ld.patch         /usr/src/gnu/usr.bin/ld

HTH

Mike