diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-08 19:50:34 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-08 19:50:34 +0000 |
commit | 768be65918300d0e412fd15487d4f753891b0ab4 (patch) | |
tree | 7708d14f759366f8604e46041e62d3b8307678a9 /media-plugins/vdr-radio | |
parent | Xvfb requires font-cursor-misc runtime, bug #278487. (diff) | |
download | gentoo-2-768be65918300d0e412fd15487d4f753891b0ab4.tar.gz gentoo-2-768be65918300d0e412fd15487d4f753891b0ab4.tar.bz2 gentoo-2-768be65918300d0e412fd15487d4f753891b0ab4.zip |
Fix building with GLIBC 2.10+ wrt #276281.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/vdr-radio')
-rw-r--r-- | media-plugins/vdr-radio/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-radio/files/vdr-radio-0.2.4-glibc-2.10.patch | 30 | ||||
-rw-r--r-- | media-plugins/vdr-radio/vdr-radio-0.2.4.ebuild | 12 |
3 files changed, 45 insertions, 5 deletions
diff --git a/media-plugins/vdr-radio/ChangeLog b/media-plugins/vdr-radio/ChangeLog index 2092a593261a..5c822d097a08 100644 --- a/media-plugins/vdr-radio/ChangeLog +++ b/media-plugins/vdr-radio/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-radio -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/ChangeLog,v 1.20 2008/04/28 10:59:19 zzam Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/ChangeLog,v 1.21 2009/08/08 19:50:34 ssuominen Exp $ + + 08 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + vdr-radio-0.2.4.ebuild, +files/vdr-radio-0.2.4-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #276281. 28 Apr 2008; Matthias Schwarzott <zzam@gentoo.org> vdr-radio-0.2.0.ebuild, vdr-radio-0.2.4.ebuild: diff --git a/media-plugins/vdr-radio/files/vdr-radio-0.2.4-glibc-2.10.patch b/media-plugins/vdr-radio/files/vdr-radio-0.2.4-glibc-2.10.patch new file mode 100644 index 000000000000..7e80da9612da --- /dev/null +++ b/media-plugins/vdr-radio/files/vdr-radio-0.2.4-glibc-2.10.patch @@ -0,0 +1,30 @@ +diff -ur radio-0.2.4.orig/radioepg.c radio-0.2.4/radioepg.c +--- radio-0.2.4.orig/radioepg.c 2007-10-09 18:45:26.000000000 +0300 ++++ radio-0.2.4/radioepg.c 2009-08-08 22:50:46.000000000 +0300 +@@ -12,7 +12,7 @@ + int epg_premiere(const char *epgtitle, const char *epgdescr, time_t epgstart, time_t epgend) + { + int i; +- char *p; ++ const char *p; + char artist[RT_MEL], titel[RT_MEL], album[RT_MEL], jahr[RT_MEL]; + struct tm tm_store; + +@@ -143,7 +143,7 @@ + int epg_kdg(const char *epgdescr, time_t epgstart, time_t epgend) + { + int i; +- char *p; ++ const char *p; + char artist[RT_MEL], titel[RT_MEL], album[RT_MEL], komp[RT_MEL]; + struct tm tm_store; + +@@ -240,7 +240,7 @@ + int epg_unitymedia(const char *epgtitle, const char *epgdescr, time_t epgstart, time_t epgend) + { + int i; +- char *p1, *p2; ++ const char *p1, *p2; + char titel[2*RT_MEL], artist[2*RT_MEL]; + struct tm tm_store; + diff --git a/media-plugins/vdr-radio/vdr-radio-0.2.4.ebuild b/media-plugins/vdr-radio/vdr-radio-0.2.4.ebuild index faf4b48355cd..85d6eae426a9 100644 --- a/media-plugins/vdr-radio/vdr-radio-0.2.4.ebuild +++ b/media-plugins/vdr-radio/vdr-radio-0.2.4.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-radio/vdr-radio-0.2.4.ebuild,v 1.3 2008/04/28 10:59:19 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-radio/vdr-radio-0.2.4.ebuild,v 1.4 2009/08/08 19:50:34 ssuominen Exp $ inherit vdr-plugin eutils @@ -13,10 +13,16 @@ SLOT="0" KEYWORDS="~amd64 x86" IUSE="" -DEPEND=">=media-video/vdr-1.3.43" +RDEPEND=">=media-video/vdr-1.3.43" +DEPEND="${RDEPEND}" VDR_RCADDON_FILE="${FILESDIR}/rc-addon.sh-0.2.0" +src_unpack() { + vdr-plugin_src_unpack + epatch "${FILESDIR}"/${P}-glibc-2.10.patch +} + src_install() { vdr-plugin_src_install |