summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2008-06-15 21:40:50 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2008-06-15 21:40:50 +0000
commit454594e8f5b2f46fe7fbaf6ffb41da0357ea50f8 (patch)
treeacb2e68d5846e90447f1c2e8eccd0a1c5984e496 /media-plugins/vdr-extrecmenu
parentpatch to fix gcc-4.3.x compile problems; thanks to M.Brakemeier on bug #227133 (diff)
downloadgentoo-2-454594e8f5b2f46fe7fbaf6ffb41da0357ea50f8.tar.gz
gentoo-2-454594e8f5b2f46fe7fbaf6ffb41da0357ea50f8.tar.bz2
gentoo-2-454594e8f5b2f46fe7fbaf6ffb41da0357ea50f8.zip
patch to fix gcc-4.3.x compile problems; thanks to M.Brakemeier on bug #227093
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/vdr-extrecmenu')
-rw-r--r--media-plugins/vdr-extrecmenu/ChangeLog8
-rw-r--r--media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2_pre1-gcc43.patch14
-rw-r--r--media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1.ebuild4
3 files changed, 24 insertions, 2 deletions
diff --git a/media-plugins/vdr-extrecmenu/ChangeLog b/media-plugins/vdr-extrecmenu/ChangeLog
index f91458252da3..164a2011d8d5 100644
--- a/media-plugins/vdr-extrecmenu/ChangeLog
+++ b/media-plugins/vdr-extrecmenu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/vdr-extrecmenu
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.20 2008/04/09 10:15:50 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/ChangeLog,v 1.21 2008/06/15 21:40:50 hd_brummy Exp $
+
+ 15 Jun 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-extrecmenu-1.2_pre1-gcc43.patch,
+ vdr-extrecmenu-1.2_pre1.ebuild:
+ patch to fix gcc-4.3.x compile problems; thanks to M.Brakemeier on bug
+ #227093
09 Apr 2008; Matthias Schwarzott <zzam@gentoo.org>
vdr-extrecmenu-1.2_pre1.ebuild:
diff --git a/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2_pre1-gcc43.patch b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2_pre1-gcc43.patch
new file mode 100644
index 000000000000..63af256cb3a5
--- /dev/null
+++ b/media-plugins/vdr-extrecmenu/files/vdr-extrecmenu-1.2_pre1-gcc43.patch
@@ -0,0 +1,14 @@
+fix compile problems on gcc-4.3.x
+bug 227093
+diff -ruN extrecmenu-1.2_orig/tools.c extrecmenu-1.2/tools.c
+--- extrecmenu-1.2_orig/tools.c 2008-03-22 15:00:12.000000000 +0100
++++ extrecmenu-1.2/tools.c 2008-06-15 10:54:33.000000000 +0200
+@@ -5,6 +5,7 @@
+ #include <string>
+ #include <fstream>
+ #include <iostream>
++#include <langinfo.h>
+ #include <vdr/plugin.h>
+ #include <vdr/videodir.h>
+ #include <vdr/recording.h>
+
diff --git a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1.ebuild b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1.ebuild
index f267601832dc..513e09e575f5 100644
--- a/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1.ebuild
+++ b/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1.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-extrecmenu/vdr-extrecmenu-1.2_pre1.ebuild,v 1.2 2008/04/09 10:15:50 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-extrecmenu/vdr-extrecmenu-1.2_pre1.ebuild,v 1.3 2008/06/15 21:40:50 hd_brummy Exp $
inherit vdr-plugin eutils
@@ -22,6 +22,8 @@ DEPEND=">=media-video/vdr-1.6.0"
src_unpack() {
vdr-plugin_src_unpack
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
if grep -q fskProtection /usr/include/vdr/timers.h; then
sed -i "s:#WITHPINPLUGIN:WITHPINPLUGIN:" Makefile
fi