patch file guidelines

markd at macports.org markd at macports.org
Sun Jun 8 14:52:02 PDT 2008


>> +      <para>You should create one patch file for each file to be
>> patched,
>> +      though it is permissible to use existing patches you find
>> that patch
>> +      multiple files. Patchfile filenames should uniquely
>> distinguish the file
>
>I think we agreed that you should make one patch per file, or one
>patch per issue. For example, this patchfile patches two source
>files, but both changes are related to the same fix:
>
>http://trac.macports.org/browser/trunk/dports/graphics/tiff/files/
>patch-universal-pre-configure.diff?rev=37397

I didn't know that.  But it seems like one patch per issue might either
lead us to define "issue" to be clear.  I wonder if the guideline is that
helpful anymore.

Mark



More information about the macports-dev mailing list