media-plugins/vdr-dvd: call tc-directly, gcc-11 compile fixed

this Plugin is quit old, ~2009, no maintainer anymore
it will fails, on my tests, on llvm/clang

Closes: https://bugs.gentoo.org/787485
Closes: https://bugs.gentoo.org/787488
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
This commit is contained in:
Joerg Bornkessel
2021-05-03 22:48:31 +02:00
parent 59f172d720
commit 26c4601a19

View File

@@ -36,4 +36,9 @@ src_prepare() {
if has_version ">=media-video/vdr-2.1.3"; then
sed -i player-dvd.c -e "s:DeviceTrickSpeed(sp):DeviceTrickSpeed(sp,true):"
fi
#bug 787485
sed -e "s:MAKEDEP = g++:MAKEDEP = \$(CXX):" -i Makefile
#bug 787488
sed -e "s|min(|std::min(|" -i control-dvd.c
}