Tags:
create new tag
, view all tags
Just starting a page on patching by quoting from the ROX-Filer User Manual.

See:

Contents

Notes

from Chapter 18 of the ROX-Filer User Manual:

Creating and applying patches When people make small modifications to the sources they will often distribute them as patch files — usually on the mailing list. To apply a patch, go into the `src' directory and run patch with the patch file. Then recompile, like this:

     $ cd ROX-Filer/src
     $ patch < patchfile
     $ ../AppRun --compile

You can remove the patch by simply repeating the above sequence — patch will detect that the patch is already applied and offer to remove it.

To create a patch you should first get the latest version of the filer from CVS (instructions on using CVS can be found on the web-site). Modify the program as you please. Create the patch using cvs diff from the appropriate directory:

$ cvs diff -u > my_patch

This creates a human– and machine-readable patch file. Submit this to the mailing list. The are many reasons for posting patches rather that the modified files:

  • They are smaller, and hence shouldn't bounce. They are also quicker to download for people with slow connections.

  • People can see what they're getting into before applying them!

  • Patches can (usually) be applied to slightly modified versions of the sources. This means that people can apply several patches without each new one overwriting the others.

Contributors

  • () RandyKramer - 27 Feb 2003
  • <If you edit this page: add your name here; move this to the next line; and include your comment marker (initials), if you have created one, in parenthesis before your WikiName.>

Page Ratings

Topic revision: r1 - 2003-02-27 - RandyKramer
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look