Prevent the mpg123 plugin from hijacking flac streams.

Thanks to Thomas-Martin Seck <tmseck@netcologne.de>

PR:		93948
Submitted by:	Espen Skoglund <esk@ira.uka.de>
This commit is contained in:
Tilman Keskinoz 2006-04-15 21:47:43 +00:00
parent a664d6f643
commit 5a2e359d3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159661
2 changed files with 12 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xmms
PORTVERSION= 1.2.10
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES+= multimedia audio ipv6
MASTER_SITES= http://www.xmms.org/files/1.2.x/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@ -18,7 +18,6 @@ COMMENT?= X Multimedia System --- An audio player with a Winamp GUI
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12 gnomehack
USE_REINPLACE= yes
WANT_GNOME= yes
USE_GMAKE= yes
USE_GETTEXT= yes

View File

@ -0,0 +1,11 @@
--- Input/mpg123/mpg123.c.orig Tue Feb 28 16:56:08 2006
+++ Input/mpg123/mpg123.c Tue Feb 28 16:57:40 2006
@@ -397,6 +397,8 @@
if (!strncasecmp(ext, ".rm", 3) ||
!strncasecmp(ext, ".ra", 3) ||
!strncasecmp(ext, ".rpm", 4) ||
+ !strncasecmp(ext, ".fla", 4) ||
+ !strncasecmp(ext, ".flac", 5) ||
!strncasecmp(ext, ".ram", 4))
return FALSE;
}