HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of CreatePatch


Ignore:
Timestamp:
08/16/07 13:38:05 (8 years ago)
Author:
brecht
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CreatePatch

    v1 v2  
    1 directories 
     1= Create the Patch = 
    22 
    3 cd working dir 
     3BePorter will apply the patch in the directory where the source package was extracted. For this to work, you need to create the patch like this: 
    44 
    5 <dir> package 
    6 <dir> package-beos 
     5 1. Place the directory (for example, named {{{xyz-1.0.0}}}) containing the original sources in a directory of your liking 
     6 1. Place the directory containing the patched sources in the same directory. You'll need to rename it first, of course (say {{{xyz-1.0.0-beos}}} 
     7 1. Now create the patch with 
     8{{{ 
     9diff -Naur xyz-1.0.0 xyz-1.0.0-beos > xyz-1.0.0.patch 
     10}}} 
    711 
    8 diff -Naur package package-beos 
     12Don't forget to clean your sources directories first ({{{make distclean}}}, for example). 
    913 
     14Congratulations! The generated patch is BePorter compatible. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/