From 840030beaa00afe39ce4c04b5a1a620bcbe6e93f Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 16 Sep 2023 11:36:42 +0200 Subject: [PATCH] Fix patch application in mplayer When using "patch -d -i ", the relative to the directory , 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. --- multimedia/videoutils/mplayer.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multimedia/videoutils/mplayer.xml b/multimedia/videoutils/mplayer.xml index fb91330558..99ddf15e75 100644 --- a/multimedia/videoutils/mplayer.xml +++ b/multimedia/videoutils/mplayer.xml @@ -252,8 +252,10 @@ that need to be applied. Do that now: + patch -Np1 -i ../MPlayer-1.5-upstream_ffmpg6_fixes-1.patch && -patch -Np1 -d ffmpeg -i ../ffmpeg-6.0-binutils_2.41-1.patch +patch -Np1 -d ffmpeg < ../ffmpeg-6.0-binutils_2.41-1.patch