mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
Fix patch application in mplayer
When using "patch -d <dir> -i <path>", the <path> relative to the directory <dir>, not the directory where the patch command is run. Using < instead of -i allows to use a path relative to where the command is run.
This commit is contained in:
parent
665150acb4
commit
840030beaa
@ -252,8 +252,10 @@
|
||||
that need to be applied. Do that now:
|
||||
</para>
|
||||
|
||||
<!-- if using "patch -d", the change of directory is done before
|
||||
applying -i, so that the patch is not in "..". Use "<" in this case. -->
|
||||
<screen><userinput>patch -Np1 -i ../MPlayer-1.5-upstream_ffmpg6_fixes-1.patch &&
|
||||
patch -Np1 -d ffmpeg -i ../ffmpeg-6.0-binutils_2.41-1.patch</userinput></screen>
|
||||
patch -Np1 -d ffmpeg < ../ffmpeg-6.0-binutils_2.41-1.patch</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user