Re: Questions on how to use the Head files Pyun YongHyeon has created for re driver

From: Aryeh M. Friedman <aryeh.friedman_at_gmail.com>
Date: Sun, 31 Aug 2008 21:09:37 -0400
Just to answer the basic question of how to apply a patch take a quick 
glance at the patch to determine:

1. Does it make sense to install it
2. Determine from what dir you need to install it from (the filenames 
will give a good clue)

Then to apply it cd to that dir and do:

    patch -p < [file]            where [file] is the filename of the 
patch (don't forget to reference its patch if needed also)

If the patch is for something in /usr/src or /usr/src/sys use the normal 
methods of rebuilding world or the kernel.

Disclaimer: c(v)sup will ignore the fact you patched a file and will 
overwrite it.   You have two options at this point:

1. Repatch after csup is done [often hard to tell if you need to]
2. Use some variant of the method in development(8) to create your own 
local cvs repo of the source tree then update the actual /usr/src with 
cvs not c(v)sup because it understands how to preserve your changes 
while adding new content to the file
Received on Mon Sep 01 2008 - 03:41:16 UTC

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