[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch question: how are normal patches created?
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Patch question: how are normal patches created?
- From: "C. Bensend" <benny_(_at_)_bennyvision_(_dot_)_com>
- Date: Sun, 10 Nov 2002 03:47:45 -0600
- Mail-followup-to: ports_(_at_)_openbsd_(_dot_)_org
On Sun, Nov 10, 2002 at 04:18:06AM -0500, jolan wrote:
>
> mkdir patches
> cp -p source.c source.c.orig
> edit source.c
> make update-patches
>
> it will recurse the work dir and generate patches automagically.
Excellent. Thanks, Jolan.
However, I have one patch that is still a pain in the ass - it
patches a Makefile, and that Makefile hasn't been generated at the time
the patch process runs. This process doesn't work for this patch, it
fails:
===> Patching for nagios-1.0b6
===> Applying OpenBSD patch patch-cgi_Makefile
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD$
|--- cgi/Makefile.orig Sun Nov 10 03:37:10 2002
|+++ cgi/Makefile Sun Nov 10 03:43:08 2002
--------------------------
File to patch:
Thoughts/suggestions most welcome. :)
Benny
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There's always time for Cheerios...
Visit your host, monkey.org