[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch question: how are normal patches created?

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

===>  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:
|--- 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.  :)


There's always time for Cheerios...