[mythtv-users] how to apply mythtv patch?

Raymond Wagner raymond at wagnerrp.com
Sun Oct 9 16:24:03 UTC 2011


On 10/9/2011 10:00, Tim Draper wrote:
> i've been going through some problems i brought up here recently, and 
> one solution was to apply a .patch to mythplayer.cpp (specifically 
> http://code.mythtv.org/trac/ticket/9997)
>
> however, i dont know how to actually apply the patch.
> it's only a 2 liner, so i could manually change the file in question, 
> but it'd be good to know how todo this properly.

If you are using git (you should be) and the patch was made using git 
(it was), then a simple 'git apply <patch file>' will do it.  You may 
want to test first with '--check' to ensure it will apply cleanly.


More information about the mythtv-users mailing list