summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2021-05-03 22:48:31 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2021-05-03 22:48:31 +0200
commit26c4601a19fbbe478a86ccc61cbd861ed42b4d12 (patch)
tree085c4834c68be51f5d3630c6e06023745f41db1c /media-plugins/vdr-dvd
parentdev-lang/mujs: drop 1.1.1-r2 (diff)
downloadgentoo-26c4601a19fbbe478a86ccc61cbd861ed42b4d12.tar.gz
gentoo-26c4601a19fbbe478a86ccc61cbd861ed42b4d12.tar.bz2
gentoo-26c4601a19fbbe478a86ccc61cbd861ed42b4d12.zip
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>
Diffstat (limited to 'media-plugins/vdr-dvd')
-rw-r--r--media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r3.ebuild (renamed from media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r3.ebuild
index 66fe021ee772..972e5b505006 100644
--- a/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r2.ebuild
+++ b/media-plugins/vdr-dvd/vdr-dvd-0.3.7_pre20090106-r3.ebuild
@@ -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
}