summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-12-17 14:54:47 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-12-17 14:54:47 +0000
commit2afe75ba6b016038f22e69bccad53f1d62b82693 (patch)
treefa6b3ec3b5c316cb90ee9376364305c6b73a28c4 /media-plugins/vdr-ffnetdev
parentamd64 stable (diff)
downloadgentoo-2-2afe75ba6b016038f22e69bccad53f1d62b82693.tar.gz
gentoo-2-2afe75ba6b016038f22e69bccad53f1d62b82693.tar.bz2
gentoo-2-2afe75ba6b016038f22e69bccad53f1d62b82693.zip
Fix compilation with gcc-4.3. Bug #251190.
(Portage version: 2.1.6.1/cvs/Linux 2.6.27-gentoo-r1 i686)
Diffstat (limited to 'media-plugins/vdr-ffnetdev')
-rw-r--r--media-plugins/vdr-ffnetdev/ChangeLog6
-rw-r--r--media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-gcc4.3.patch12
-rw-r--r--media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild4
3 files changed, 20 insertions, 2 deletions
diff --git a/media-plugins/vdr-ffnetdev/ChangeLog b/media-plugins/vdr-ffnetdev/ChangeLog
index d572406d3e65..73c70cd50a64 100644
--- a/media-plugins/vdr-ffnetdev/ChangeLog
+++ b/media-plugins/vdr-ffnetdev/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-ffnetdev
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/ChangeLog,v 1.11 2008/04/07 19:31:21 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/ChangeLog,v 1.12 2008/12/17 14:54:47 zzam Exp $
+
+ 17 Dec 2008; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-ffnetdev-0.1.0-gcc4.3.patch, vdr-ffnetdev-0.1.0.ebuild:
+ Fix compilation with gcc-4.3. Bug #251190.
07 Apr 2008; Matthias Schwarzott <zzam@gentoo.org>
+files/vdr-ffnetdev-0.1.0-vdr-1.6.0.diff, vdr-ffnetdev-0.1.0.ebuild:
diff --git a/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-gcc4.3.patch b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-gcc4.3.patch
new file mode 100644
index 000000000000..ac0ad6eb01cd
--- /dev/null
+++ b/media-plugins/vdr-ffnetdev/files/vdr-ffnetdev-0.1.0-gcc4.3.patch
@@ -0,0 +1,12 @@
+diff -ru vdr-ffnetdev-0.1.0-orig/netosd.h vdr-ffnetdev-0.1.0/netosd.h
+--- vdr-ffnetdev-0.1.0-orig/netosd.h 2008-12-17 15:46:49.194277519 +0100
++++ vdr-ffnetdev-0.1.0/netosd.h 2008-12-17 15:47:46.807603142 +0100
+@@ -17,7 +17,7 @@
+ bool truecolor;
+ protected:
+ public:
+- cNetOSD(int XOfs, int XOfs, uint level);
++ cNetOSD(int Left, int Top, uint level);
+ virtual ~cNetOSD();
+ virtual eOsdError CanHandleAreas(const tArea *Areas, int NumAreas);
+ virtual void Flush(void);
diff --git a/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild b/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild
index 100b65afe76c..c0a7d49f9a05 100644
--- a/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild
+++ b/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild,v 1.10 2008/04/07 19:31:21 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ffnetdev/vdr-ffnetdev-0.1.0.ebuild,v 1.11 2008/12/17 14:54:47 zzam Exp $
inherit vdr-plugin eutils
@@ -30,5 +30,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}-vdr-1.6.0.diff"
fi
+ epatch "${FILESDIR}/${P}-gcc4.3.patch"
+
vdr-plugin_src_unpack all_but_unpack
}