summaryrefslogtreecommitdiff
path: root/audio/muse/files/patch-src__jmixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/muse/files/patch-src__jmixer.cpp')
-rw-r--r--audio/muse/files/patch-src__jmixer.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/audio/muse/files/patch-src__jmixer.cpp b/audio/muse/files/patch-src__jmixer.cpp
deleted file mode 100644
index b00c3f06560c..000000000000
--- a/audio/muse/files/patch-src__jmixer.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
---- src/jmixer.cpp.orig 2004-12-16 20:04:31.000000000 +0900
-+++ src/jmixer.cpp 2012-05-29 07:39:23.000000000 +0900
-@@ -20,18 +20,19 @@
- */
-
- #include <iostream>
--#include <math.h>
--#include <stdio.h>
--#include <stdlib.h>
-+#include <cmath>
-+#include <cstdio>
-+#include <cstdlib>
- #include <unistd.h>
- #include <dirent.h>
- #include <sys/ioctl.h>
- #include <sys/stat.h>
--#include <errno.h>
-+#include <sys/param.h>
-+#include <cerrno>
- #include <fcntl.h>
-
--#include <string.h>
--#include <signal.h>
-+#include <cstring>
-+#include <csignal>
- #include <sys/types.h>
- #include <sys/wait.h>
- #include <termios.h>
-@@ -640,7 +641,11 @@
- /* this is the function selecting files for the scandir
- on freebsd systems you should change the following line to:
- int selector(struct dirent *dir) { */
-+#if defined(__FreeBSD__) && __FreeBSD_version < 800501
-+int selector(struct dirent *dir) {
-+#else
- int selector(const struct dirent *dir) {
-+#endif
- 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