summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vdr-burn/ChangeLog6
-rw-r--r--media-plugins/vdr-burn/files/vdr-1.7.27.diff22
-rw-r--r--media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild6
3 files changed, 32 insertions, 2 deletions
diff --git a/media-plugins/vdr-burn/ChangeLog b/media-plugins/vdr-burn/ChangeLog
index 8beed4061eb5..8b5a29e7bea2 100644
--- a/media-plugins/vdr-burn/ChangeLog
+++ b/media-plugins/vdr-burn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-burn
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.53 2012/03/06 20:20:59 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/ChangeLog,v 1.54 2012/04/07 02:06:09 hd_brummy Exp $
+
+ 07 Apr 2012; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-burn-0.2.0.ebuild,
+ +files/vdr-1.7.27.diff:
+ compilefix >=vdr-1.7.27
06 Mar 2012; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-burn-0.2.0.ebuild:
disabled ttxtsubs check, false positiv results
diff --git a/media-plugins/vdr-burn/files/vdr-1.7.27.diff b/media-plugins/vdr-burn/files/vdr-1.7.27.diff
new file mode 100644
index 000000000000..2b1015b304eb
--- /dev/null
+++ b/media-plugins/vdr-burn/files/vdr-1.7.27.diff
@@ -0,0 +1,22 @@
+diff -Naur burn-0.2.0.orig/i18n.h burn-0.2.0/i18n.h
+--- burn-0.2.0.orig/i18n.h 2012-04-07 03:40:32.000000000 +0200
++++ burn-0.2.0/i18n.h 2012-04-07 03:41:53.000000000 +0200
+@@ -20,18 +20,7 @@
+ // Implemented as a Meyers-Singleton
+ class i18n
+ {
+- private:
+- static const tI18nPhrase m_phrases[];
+-
+- int m_osdLanguage;
+-
+- protected:
+- static i18n& get();
+-
+ public:
+- i18n();
+-
+- static const tI18nPhrase* get_phrases() { return m_phrases; }
+
+ static const char* translate( const char* text );
+ };
diff --git a/media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild b/media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild
index 2f1b4cfec23a..ee95a9cb4bf0 100644
--- a/media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild
+++ b/media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild,v 1.2 2012/03/06 20:20:59 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-burn/vdr-burn-0.2.0.ebuild,v 1.3 2012/04/07 02:06:09 hd_brummy Exp $
EAPI="4"
@@ -54,6 +54,10 @@ src_prepare() {
sed -i Makefile -e 's:DEFINES += -DTTXT_SUBTITLES:#DEFINES += -DTTXT_SUBTITLES:'
+ if has_version ">=media-video/vdr-1.7.27"; then
+ epatch "${FILESDIR}/vdr-1.7.27.diff"
+ fi
+
fix_vdr_libsi_include scanner.c
}