Here's a simple method.

1) Unpack the source tarball, which will give a directory like foo-1.2.3/
2) Do all necessary editing of source files within foo-1.2.3/
3) Rename foo-1.2.3/ to foo-1.2.3-patched/
4) Unpack a second copy of the source tarball, into foo-1.2.3/
5) Now, working from the directory which contains both foo-1.2.3 and 
   foo-1.2.3-patched, run the command
     diff -ruN foo-1.2.3 foo-1.2.3-patched > foo.patch
   (You might need to adjust some permissions to get this to work, or
    run it under sudo.)

    -- Dave


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to