[Gllug] Building a patch

Stig Brautaset stig at brautaset.org
Thu Dec 1 10:07:56 UTC 2005


On 1 Dec 2005, at 09:52, Adrian McMenamin wrote:

> I want to produce a patch in linux kernel style comparing two  
> directories
> - one is alsa-lib-orig and the other is alsa-lib (alsa lib patched to
> allow it to build against uclibc as opposed to glibc). In addition  
> I want
> the patch to ignore new files (ie the stuff generated by the ./ 
> configure).
...
> How can I do this?

By running 'make distclean' before invoking diff?

A good idea is to check out from the project's version control  
system, do your changes and ask the VCS to generate your patch. If  
that's not possible, download a tarball, import into your own  
favourite VCS, then do your changes and generate a patch/changeset.

Don't know any VCSs yet? Then that should be next on your agenda.

Stig
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list