summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch')
-rw-r--r--abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch b/abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch
new file mode 100644
index 0000000..564c434
--- /dev/null
+++ b/abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch
@@ -0,0 +1,37 @@
+Index: mythmusic/mythmusic/aacdecoder.cpp
+===================================================================
+--- mythmusic/mythmusic/aacdecoder.cpp (revision 17452)
++++ mythmusic/mythmusic/aacdecoder.cpp (working copy)
+@@ -19,6 +19,7 @@
+ #include <qobject.h>
+ #include <qiodevice.h>
+ #include <qfile.h>
++#include <stdlib.h>
+
+ #include "aacdecoder.h"
+ #include "constants.h"
+Index: mythmusic/mythmusic/aacdecoder.h
+===================================================================
+--- mythmusic/mythmusic/aacdecoder.h (revision 17452)
++++ mythmusic/mythmusic/aacdecoder.h (working copy)
+@@ -51,7 +51,7 @@
+ bool done, finish;
+ long len, bitrate;
+ uchar channels;
+- unsigned long sample_rate;
++ uint32_t sample_rate;
+ unsigned long output_size;
+ double totalTime, seekTime;
+
+Index: mythmusic/mythmusic/metaiomp4.cpp
+===================================================================
+--- mythmusic/mythmusic/metaiomp4.cpp (revision 17452)
++++ mythmusic/mythmusic/metaiomp4.cpp (working copy)
+@@ -3,6 +3,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <stdlib.h>
+
+ using namespace std;
+