[mythtv-users] how to apply mythtv patch?

Paul Harrison mythtv at sky.com
Sun Oct 9 14:28:07 UTC 2011

On 09/10/11 15: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.
> thanks

Something like this should work. Change to the mythtv source directory
then do:-
patch -p2 < '/path_to_patch_file/mythplayer.patch'

Depending on the patch and where you are in the source directory you may
have to adjust the number after -p

Paul H.

More information about the mythtv-users mailing list