summaryrefslogtreecommitdiff
path: root/audio/muse/files/patch-src_libmpeg_mpegtoraw.cc
diff options
context:
space:
mode:
Diffstat (limited to 'audio/muse/files/patch-src_libmpeg_mpegtoraw.cc')
-rw-r--r--audio/muse/files/patch-src_libmpeg_mpegtoraw.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/muse/files/patch-src_libmpeg_mpegtoraw.cc b/audio/muse/files/patch-src_libmpeg_mpegtoraw.cc
new file mode 100644
index 000000000000..5c388cf890ee
--- /dev/null
+++ b/audio/muse/files/patch-src_libmpeg_mpegtoraw.cc
@@ -0,0 +1,22 @@
+--- src/libmpeg/mpegtoraw.cc.orig 2003-12-08 12:20:37 UTC
++++ src/libmpeg/mpegtoraw.cc
+@@ -9,8 +9,8 @@
+ #include <pthread.h>
+ #endif
+
+-#include <math.h>
+-#include <stdlib.h>
++#include <cmath>
++#include <cstdlib>
+ #include <unistd.h>
+
+ #include "mpegsound.h"
+@@ -419,7 +419,7 @@ bool Mpegtoraw::loadheader(void)
+ return true;
+ }
+
+-#include <iostream.h>
++#include <iostream>
+ // Convert mpeg to raw
+ bool Mpegtoraw::run(int frames) {
+ clearrawdata();