[Wine] Building wine from source code

Frédéric Delanoy frederic.delanoy at gmail.com
Sun Jun 12 17:39:59 CDT 2011


On Sat, Jun 11, 2011 at 23:57, James McKenzie <jjmckenzie51 at gmail.com> wrote:
> On 6/11/11 6:57 AM, etwineb wrote:
>>
>> Code:
>>
>> patch -p0 patchname.diff
>
> No. The command is
> [code]
>  patch -p0 < patchname.diff
> [/code]
>
> However, most Wine patches are written using git which will require
> [code]
> patch -p1 < patchname.diff
> [/code]
>
> as the files are listed as a/dlls/.... and b/dlls/.... in git difference
> file format.

For git patches, using git-apply is safer, as the 'patch -p1' version
will not work with patches containing file additions/deletions.



More information about the wine-users mailing list