Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/audacious-plugins/files: 2.0.1-icecast-flawed-vorbis-enum.patch
Date: Wed, 17 Jun 2009 12:07:33
Message-Id: E1MGtvK-0003LP-Gq@stork.gentoo.org
1 chainsaw 09/06/17 12:07:26
2
3 Added: 2.0.1-icecast-flawed-vorbis-enum.patch
4 Log:
5 Upstream patch from Matti Hamalainen <ccr@××××.org> allows unusual USE-flag combination of icecast without vorbis, closes bug #274309 by Diego E. 'Flameeyes' Pettenò <flameeyes@g.o>. No revision bump, just a build fix. Marking stable on AMD64 as there have been no significant bugs reported for this package. Tested on a Core2 Duo with Realtek ALC226 @ ICH9M HD-Audio.
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 media-plugins/audacious-plugins/files/2.0.1-icecast-flawed-vorbis-enum.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/files/2.0.1-icecast-flawed-vorbis-enum.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/audacious-plugins/files/2.0.1-icecast-flawed-vorbis-enum.patch?rev=1.1&content-type=text/plain
13
14 Index: 2.0.1-icecast-flawed-vorbis-enum.patch
15 ===================================================================
16
17 # HG changeset patch
18 # User Matti Hamalainen <ccr@××××.org>
19 # Date 1245161877 -10800
20 # Node ID c41b5966778fce4eb9b15e0c5ee262c7ff1758fb
21 # Parent 54c7d2087c8af9e01430a907675cb066f0b30b61
22 Default to '0' instead of enum value VORBIS, which may not be defined if
23 Vorbis support is not compiled in.
24
25 --- a/src/icecast/icecast.c Tue Jun 16 08:15:49 2009 -0500
26 +++ b/src/icecast/icecast.c Tue Jun 16 17:17:57 2009 +0300
27 @@ -52,7 +52,7 @@
28 streamformat_MAX
29 };
30
31 -static gint streamformat = VORBIS;
32 +static gint streamformat = 0;
33
34 static unsigned int streamformat_shout[] =
35 {