summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-03-18 17:37:32 +0000
committerPacho Ramos <pacho@gentoo.org>2012-03-18 17:37:32 +0000
commit64c223c38d616849bfca875f2b2b6610d4844a97 (patch)
treecb913a5cff796224ea2a1ea3259097066ecb540e /media-plugins
parentMove to maintainer-needed. (diff)
downloadgentoo-2-64c223c38d616849bfca875f2b2b6610d4844a97.tar.gz
gentoo-2-64c223c38d616849bfca875f2b2b6610d4844a97.tar.bz2
gentoo-2-64c223c38d616849bfca875f2b2b6610d4844a97.zip
Fix build with gcc-4.6, bug #363235.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-skincurses/ChangeLog8
-rw-r--r--media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch10
-rw-r--r--media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild10
3 files changed, 24 insertions, 4 deletions
diff --git a/media-plugins/vdr-skincurses/ChangeLog b/media-plugins/vdr-skincurses/ChangeLog
index a3016fb7de79..6276d29f1ca1 100644
--- a/media-plugins/vdr-skincurses/ChangeLog
+++ b/media-plugins/vdr-skincurses/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-skincurses
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skincurses/ChangeLog,v 1.11 2009/03/29 16:58:21 hd_brummy Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skincurses/ChangeLog,v 1.12 2012/03/18 17:37:32 pacho Exp $
+
+ 18 Mar 2012; Pacho Ramos <pacho@gentoo.org>
+ +files/vdr-skincurses-0.1.7-gcc46.patch, vdr-skincurses-0.1.7.ebuild:
+ Fix build with gcc-4.6, bug #363235.
29 Mar 2009; Joerg Bornkessel <hd_brummy@gentoo.org>
-vdr-skincurses-0.1.2.ebuild, vdr-skincurses-0.1.7.ebuild:
diff --git a/media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch b/media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch
new file mode 100644
index 000000000000..883667395124
--- /dev/null
+++ b/media-plugins/vdr-skincurses/files/vdr-skincurses-0.1.7-gcc46.patch
@@ -0,0 +1,10 @@
+--- PLUGINS/src/skincurses/skincurses.c 2008-03-14 13:57:14.000000000 +0100
++++ PLUGINS/src/skincurses/skincurses.c 2011-05-04 13:04:53.124920860 +0200
+@@ -19,6 +19,7 @@
+
+ class cCursesFont : public cFont {
+ public:
++ cCursesFont() {};
+ virtual int Width(uint c) const { return 1; }
+ virtual int Width(const char *s) const { return s ? Utf8StrLen(s) : 0; }
+ virtual int Height(void) const { return 1; }
diff --git a/media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild b/media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild
index a9fb371479c4..58f54b16ea81 100644
--- a/media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild
+++ b/media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild,v 1.2 2009/03/29 16:58:21 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skincurses/vdr-skincurses-0.1.7.ebuild,v 1.3 2012/03/18 17:37:32 pacho Exp $
+EAPI=4
IUSE=""
inherit vdr-plugin
@@ -19,3 +20,8 @@ LICENSE="GPL-2"
DEPEND=">=media-video/vdr-1.6.0"
S=${WORKDIR}/vdr-${VDR_V}/PLUGINS/src/${VDRPLUGIN}
+
+src_prepare() {
+ vdr-plugin_src_prepare
+ epatch "${FILESDIR}/vdr-skincurses-0.1.7-gcc46.patch"
+}