summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2016-05-05 18:06:53 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2016-05-05 18:06:53 +0200
commit3478d06c2ddab44b2030c14f36cd4f5b9dbee87e (patch)
tree85c9edd1348cd860d06ffcb1907949b73314cd6a /media-plugins
parentdev-python/pypy3-bin: Remove trailing whitespace and clear QA warning. (diff)
downloadgentoo-3478d06c2ddab44b2030c14f36cd4f5b9dbee87e.tar.gz
gentoo-3478d06c2ddab44b2030c14f36cd4f5b9dbee87e.tar.bz2
gentoo-3478d06c2ddab44b2030c14f36cd4f5b9dbee87e.zip
compilefix vdr-2.1.1, thx to T.Foerster on wrt bug 541130
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild b/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild
index c89f0f5bd4d0..c9ef1603770b 100644
--- a/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild
+++ b/media-plugins/vdr-kvdrmon/vdr-kvdrmon-0.6.ebuild
@@ -19,3 +19,12 @@ DEPEND=">=media-video/vdr-1.3.0"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-remove-menu-entry.diff" )
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ if has_version ">=media-video/vdr-2.1.1"; then
+ sed -e "s/VideoDiskSpace/cVideoDirectory::VideoDiskSpace/" \
+ -i helpers.c
+ fi
+}