summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-10-05 17:28:52 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-10-05 17:28:52 +0000
commit57d73daff0ecfd7df4dd02077e5239ca1a1aa021 (patch)
tree6e44267195ce763aab06c3d7c2aaa4a78cc6e545 /media-plugins
parentVersion bump (diff)
downloadgentoo-2-57d73daff0ecfd7df4dd02077e5239ca1a1aa021.tar.gz
gentoo-2-57d73daff0ecfd7df4dd02077e5239ca1a1aa021.tar.bz2
gentoo-2-57d73daff0ecfd7df4dd02077e5239ca1a1aa021.zip
Fix building with recent glibc wrt #339194 by Diego E. Pettenò.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-cdda/ChangeLog8
-rw-r--r--media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-glibc-212.patch13
-rw-r--r--media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild15
3 files changed, 28 insertions, 8 deletions
diff --git a/media-plugins/vdr-cdda/ChangeLog b/media-plugins/vdr-cdda/ChangeLog
index f8a8fa251ad7..62ba9ae16f81 100644
--- a/media-plugins/vdr-cdda/ChangeLog
+++ b/media-plugins/vdr-cdda/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-cdda
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/ChangeLog,v 1.10 2009/12/27 16:40:24 hd_brummy Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/ChangeLog,v 1.11 2010/10/05 17:28:52 ssuominen Exp $
+
+ 05 Oct 2010; Samuli Suominen <ssuominen@gentoo.org>
+ vdr-cdda-0.1.0-r1.ebuild, +files/vdr-cdda-0.1.0-glibc-212.patch:
+ Fix building with recent glibc wrt #339194 by Diego E. Pettenò.
27 Dec 2009; Joerg Bornkessel <hd_brummy@gentoo.org>
files/vdr-cdda-0.1.0_gcc-4.4.patch:
diff --git a/media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-glibc-212.patch b/media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-glibc-212.patch
new file mode 100644
index 000000000000..692bf345dd9b
--- /dev/null
+++ b/media-plugins/vdr-cdda/files/vdr-cdda-0.1.0-glibc-212.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/339194
+
+--- cdda_cddb.c
++++ cdda_cddb.c
+@@ -15,6 +15,8 @@
+ #include <stdlib.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <sys/types.h>
++#include <sys/stat.h>
+ #include "cdda_conf.h"
+ #include "cdda_cddb.h"
+
diff --git a/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild b/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild
index 0a990452f777..fd67e4116c1e 100644
--- a/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild
+++ b/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild,v 1.5 2009/12/23 21:12:27 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cdda/vdr-cdda-0.1.0-r1.ebuild,v 1.6 2010/10/05 17:28:52 ssuominen Exp $
inherit vdr-plugin
@@ -18,7 +18,10 @@ DEPEND=">=media-video/vdr-1.3.22
"
RDEPEND="${DEPEND}"
-PATCHES="${FILESDIR}/${P}.patch
- ${FILESDIR}/${P}-cdspeed.diff
- ${FILESDIR}/${P}-linking-order.diff
- ${FILESDIR}/${P}_gcc-4.4.patch"
+PATCHES=(
+ "${FILESDIR}"/${P}.patch
+ "${FILESDIR}"/${P}-cdspeed.diff
+ "${FILESDIR}"/${P}-linking-order.diff
+ "${FILESDIR}"/${P}_gcc-4.4.patch
+ "${FILESDIR}"/${P}-glibc-212.patch
+ )