freebsd-ports/audio/muse/files/patch-jmixer.cpp
Ying-Chieh Liao 8fe607b628 fix build on -current
PR:		46581
Submitted by:	Ports Fury
2002-12-29 04:39:22 +00:00

11 lines
403 B
C++

--- jmixer.cpp.orig Tue Jul 23 04:48:56 2002
+++ jmixer.cpp Sat Dec 28 09:41:10 2002
@@ -808,7 +808,7 @@
}
/* this is the function selecting files for the scandir */
-int selector(const struct dirent *dir) {
+int selector(struct dirent *dir) {
if( strncasecmp(dir->d_name+strlen(dir->d_name)-4,".mp3",4)==0
#ifdef HAVE_VORBIS
|| strncasecmp(dir->d_name+strlen(dir->d_name)-4,".ogg",4)==0