Patching the system

2004-02-23 Thread MHA

Hi all (and excuse my English, please)

I need to patch script (/usr/src/usr.bin/script - /usr/bin/script),
but I don't know how to do it correctly.

Here is the patch and the bug report:
http://www.freebsd.org/cgi/query-pr.cgi?pr=56166

I think script is the problem, I have some errors with portupgrade
and script like this:

** Command failed [exit code 1]: /usr/bin/script -qa \
/tmp/portupgrade932.5 make

I have search in the handbook, FAQ and onlamp.com/fbsd, but I haven't
find anything useful, sorry if this question is explained in any of
these places.

Thanks for your help.

Regards, Manu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


auto-patching the system

2003-09-27 Thread Walter C. Pelissero
I keep my src tree updated with cvsup, but I start to accumulate
patches to kernel or programs that I'd like to include automatically
each time I recompile the kernel (pretty often) or I do a make world
(much less often).

Those are usually patches that have been already put forward to the
attention of the maintainers with a send-pr, but got forgotten or
simply ignored possibly because considered not interesting.

At the moment I simply manually copy the modified files into the
source tree before recompiling, but, of course, next time I do a
cvsup, the changes are gone, requiring me to repeat the process next
time I compile (and likely forgetting some stuff).

Is there already any pre-canned way to include those patches at
compile time?  (A parallel source tree, for instance.)

Cheers,

-- 
walter pelissero
http://www.pelissero.de
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: auto-patching the system

2003-09-27 Thread Erik Trulsson
On Sat, Sep 27, 2003 at 07:11:49PM +0200, Walter C. Pelissero wrote:
 I keep my src tree updated with cvsup, but I start to accumulate
 patches to kernel or programs that I'd like to include automatically
 each time I recompile the kernel (pretty often) or I do a make world
 (much less often).
 
 Those are usually patches that have been already put forward to the
 attention of the maintainers with a send-pr, but got forgotten or
 simply ignored possibly because considered not interesting.
 
 At the moment I simply manually copy the modified files into the
 source tree before recompiling, but, of course, next time I do a
 cvsup, the changes are gone, requiring me to repeat the process next
 time I compile (and likely forgetting some stuff).
 
 Is there already any pre-canned way to include those patches at
 compile time?  (A parallel source tree, for instance.)

There are probably more than one way to keep local patches to the
source, but the way I do it is:

Use cvsup to get a local copy of the whole cvs repository (instead of
just a checked out source tree). 
Then use cvs to check out the source tree from the local repository.
Unlike cvsup, cvs knows how to handle local modifications.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]