diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 19:07:31 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 19:07:31 +0000 |
commit | 49887dc34c70c5c049ede60e3652c442afc05abc (patch) | |
tree | fc8b253798e97a26375ad4f320deaff22381b03b /media-plugins/vdr-undelete | |
parent | Stable for HPPA (bug #279379). (diff) | |
download | gentoo-2-49887dc34c70c5c049ede60e3652c442afc05abc.tar.gz gentoo-2-49887dc34c70c5c049ede60e3652c442afc05abc.tar.bz2 gentoo-2-49887dc34c70c5c049ede60e3652c442afc05abc.zip |
Fix building with GLIBC 2.10+ wrt #277253.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/vdr-undelete')
-rw-r--r-- | media-plugins/vdr-undelete/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch | 12 | ||||
-rw-r--r-- | media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild | 5 |
3 files changed, 20 insertions, 3 deletions
diff --git a/media-plugins/vdr-undelete/ChangeLog b/media-plugins/vdr-undelete/ChangeLog index 3cc7d42da605..61153f23fb2f 100644 --- a/media-plugins/vdr-undelete/ChangeLog +++ b/media-plugins/vdr-undelete/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-undelete # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-undelete/ChangeLog,v 1.11 2009/05/07 18:06:06 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-undelete/ChangeLog,v 1.12 2009/08/09 19:07:29 ssuominen Exp $ + + 09 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + vdr-undelete-0.0.6-r1.ebuild, +files/vdr-undelete-0.0.6-glibc-2.10.patch: + Fix building with GLIBC 2.10+ wrt #277253. 07 May 2009; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-undelete-0.0.6-r1.ebuild, +files/vdr-undelete-0.0.6_vdr-1.7.3.diff: diff --git a/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch b/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch new file mode 100644 index 000000000000..5a87bd23f009 --- /dev/null +++ b/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur undelete-0.0.6.orig/undelete.c undelete-0.0.6/undelete.c +--- undelete-0.0.6.orig/undelete.c 2006-03-15 23:12:06.000000000 +0200 ++++ undelete-0.0.6/undelete.c 2009-08-09 22:08:26.000000000 +0300 +@@ -934,7 +934,7 @@ + if (verbose.u) + isyslog("%s: undelete recording (%s)", plugin_name, recording->FileName()); + cString NewName = recording->FileName(); +- char *ext = strrchr(NewName, '.'); ++ char *ext = const_cast<char*> (strrchr(NewName, '.')); + if (!strcmp(ext, DELEXT)) + { + strncpy(ext, RECEXT, strlen(ext)); diff --git a/media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild b/media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild index 20201bc3c6be..f27f301de511 100644 --- a/media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild +++ b/media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild,v 1.7 2009/05/07 18:06:06 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-undelete/vdr-undelete-0.0.6-r1.ebuild,v 1.8 2009/08/09 19:07:29 ssuominen Exp $ inherit vdr-plugin @@ -19,4 +19,5 @@ RDEPEND="${DEPEND}" PATCHES=("${FILESDIR}/${P#vdr-}-info.diff" "${FILESDIR}/${P#vdr-}-vdr-1.5.7.diff" - "${FILESDIR}/${P}_vdr-1.7.3.diff" ) + "${FILESDIR}/${P}_vdr-1.7.3.diff" + "${FILESDIR}/${P}-glibc-2.10.patch" ) |