summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-11 09:26:12 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-11 09:26:12 +0000
commitb30258b21a27dc2a82dfbf2930254d8a25f39043 (patch)
treecf9625bc80cec19482842723e4fc6e8110a9d0d8 /media-plugins/vdr-vodcatcher
parentFix building with GLIBC 2.10+. (diff)
downloadgentoo-2-b30258b21a27dc2a82dfbf2930254d8a25f39043.tar.gz
gentoo-2-b30258b21a27dc2a82dfbf2930254d8a25f39043.tar.bz2
gentoo-2-b30258b21a27dc2a82dfbf2930254d8a25f39043.zip
Fix building with GCC 4.4+ wrt #281077.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/vdr-vodcatcher')
-rw-r--r--media-plugins/vdr-vodcatcher/ChangeLog8
-rw-r--r--media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.1-gcc44.patch11
-rw-r--r--media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild6
3 files changed, 21 insertions, 4 deletions
diff --git a/media-plugins/vdr-vodcatcher/ChangeLog b/media-plugins/vdr-vodcatcher/ChangeLog
index 7e421d872382..a2c046f451e1 100644
--- a/media-plugins/vdr-vodcatcher/ChangeLog
+++ b/media-plugins/vdr-vodcatcher/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-vodcatcher
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vodcatcher/ChangeLog,v 1.2 2008/11/11 19:51:39 hd_brummy Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vodcatcher/ChangeLog,v 1.3 2009/08/11 09:26:12 ssuominen Exp $
+
+ 11 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ vdr-vodcatcher-0.2.1.ebuild, +files/vdr-vodcatcher-0.2.1-gcc44.patch:
+ Fix building with GCC 4.4+ wrt #281077.
*vdr-vodcatcher-0.2.1 (11 Nov 2008)
diff --git a/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.1-gcc44.patch b/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.1-gcc44.patch
new file mode 100644
index 000000000000..b8c7ef6865b6
--- /dev/null
+++ b/media-plugins/vdr-vodcatcher/files/vdr-vodcatcher-0.2.1-gcc44.patch
@@ -0,0 +1,11 @@
+diff -ur vodcatcher-0.2.1.orig/src/Rfc822DateTime.cc vodcatcher-0.2.1/src/Rfc822DateTime.cc
+--- vodcatcher-0.2.1.orig/src/Rfc822DateTime.cc 2008-08-06 00:37:56.000000000 +0300
++++ vodcatcher-0.2.1/src/Rfc822DateTime.cc 2009-08-11 12:26:49.000000000 +0300
+@@ -21,6 +21,7 @@
+ */
+
+ #include "Rfc822DateTime.h"
++#include <stdio.h>
+ #include <stdlib.h>
+
+ using namespace std;
diff --git a/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild b/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild
index ac248446a688..1c6b04aa77a4 100644
--- a/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild
+++ b/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild,v 1.1 2008/11/11 19:51:39 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vodcatcher/vdr-vodcatcher-0.2.1.ebuild,v 1.2 2009/08/11 09:26:12 ssuominen Exp $
inherit vdr-plugin
@@ -17,6 +17,8 @@ DEPEND="net-misc/curl
media-video/vdr
|| ( media-plugins/vdr-mplayer media-plugins/vdr-xineliboutput )"
+PATCHES=( "${FILESDIR}/${P}-gcc44.patch" )
+
src_unpack() {
vdr-plugin_src_unpack