summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-08-27 18:11:15 +0000
committerJon Hood <squinky86@gentoo.org>2004-08-27 18:11:15 +0000
commit55ea950a5f5ff6b21341233e5e34412008972241 (patch)
tree6f1cce3064025a53efb884835bc889e1417dad00 /media-plugins/streamtuner-local
parentx86 stable (Manifest recommit) (diff)
downloadgentoo-2-55ea950a5f5ff6b21341233e5e34412008972241.tar.gz
gentoo-2-55ea950a5f5ff6b21341233e5e34412008972241.tar.bz2
gentoo-2-55ea950a5f5ff6b21341233e5e34412008972241.zip
gcc-3.4 patching
Diffstat (limited to 'media-plugins/streamtuner-local')
-rw-r--r--media-plugins/streamtuner-local/ChangeLog6
-rw-r--r--media-plugins/streamtuner-local/files/0.4.0-gcc34.patch12
-rw-r--r--media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild12
3 files changed, 27 insertions, 3 deletions
diff --git a/media-plugins/streamtuner-local/ChangeLog b/media-plugins/streamtuner-local/ChangeLog
index 154699d91870..ace4cc396ef3 100644
--- a/media-plugins/streamtuner-local/ChangeLog
+++ b/media-plugins/streamtuner-local/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/streamtuner-local
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/streamtuner-local/ChangeLog,v 1.9 2004/06/24 23:35:07 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/streamtuner-local/ChangeLog,v 1.10 2004/08/27 18:11:15 squinky86 Exp $
+
+ 27 Aug 2004; Jon Hood <squinky86@gentoo.org> +files/0.4.0-gcc34.patch,
+ streamtuner-local-0.4.0.ebuild:
+ Add gcc-3.4 patch irt #51846.
12 May 2004; Jeremy Huddleston <eradicator@gentoo.org>
streamtuner-local-0.4.0.ebuild:
diff --git a/media-plugins/streamtuner-local/files/0.4.0-gcc34.patch b/media-plugins/streamtuner-local/files/0.4.0-gcc34.patch
new file mode 100644
index 000000000000..81ee5a08dd56
--- /dev/null
+++ b/media-plugins/streamtuner-local/files/0.4.0-gcc34.patch
@@ -0,0 +1,12 @@
+diff -Naur streamtuner-local-0.4.0.vanilla/src/local.c streamtuner-local-0.4.0/src/local.c
+--- streamtuner-local-0.4.0.vanilla/src/local.c 2004-03-29 05:50:00.000000000 -0600
++++ streamtuner-local-0.4.0/src/local.c 2004-08-27 13:04:03.188857584 -0500
+@@ -613,7 +613,7 @@
+ #ifdef WITH_VC
+ case LOCAL_TYPE_OGG: local_vc_read(stream); break;
+ #endif
+- default: /* nop */
++ default: break;/* nop */
+ }
+
+ *streams = g_list_append(*streams, stream);
diff --git a/media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild b/media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild
index 680b5edbba6a..0d0b616409e1 100644
--- a/media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild
+++ b/media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild,v 1.7 2004/06/24 23:35:07 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/streamtuner-local/streamtuner-local-0.4.0.ebuild,v 1.8 2004/08/27 18:11:15 squinky86 Exp $
+
+inherit eutils
DESCRIPTION="A plugin for Streamtuner to browse and play local files."
SRC_URI="http://savannah.nongnu.org/download/streamtuner/${P}.tar.gz"
@@ -15,7 +17,13 @@ DEPEND=">=net-misc/streamtuner-0.12.0
>=media-libs/libid3tag-0.15
oggvorbis? ( >=media-libs/libvorbis-1.0 >=media-libs/libogg-1.1 )"
-src_install () {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc34.patch
+}
+
+src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING ChangeLog NEWS README INSTALL
}