summaryrefslogtreecommitdiff
blob: c29961645615559be59a1550d63f0c7a892d7102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -ur bpmdetect.orig/src/main.cpp bpmdetect/src/main.cpp
--- bpmdetect.orig/src/main.cpp	2008-05-01 12:50:18.000000000 +0300
+++ bpmdetect/src/main.cpp	2009-06-03 22:24:56.000000000 +0300
@@ -20,6 +20,8 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
+#include <cstdio>
+
 #ifndef NO_GUI
  #ifdef USE_QT3
   #include "dlgbpmdetect3.h"
diff -ur bpmdetect.orig/src/SConscript bpmdetect/src/SConscript
--- bpmdetect.orig/src/SConscript	2008-04-24 19:49:52.000000000 +0300
+++ bpmdetect/src/SConscript	2009-06-03 22:33:57.000000000 +0300
@@ -234,7 +234,7 @@
 
   env.Append(LIBS = ['id3', 'fmodex', 'z'])
   env.Append(CPPPATH = ['.', '..', '../includes'])
-  env.Append(LIBPATH = ['.', '../libs'])
+  env.Append(LIBPATH = ['.', '../libs', '/opt/fmodex/api/lib'])
   env['ISCONFIGURED']=1
   # And finally save the options in the cache
   opts.Save(cachefile, env)
diff -ur bpmdetect.orig/src/track.cpp bpmdetect/src/track.cpp
--- bpmdetect.orig/src/track.cpp	2008-04-25 22:33:18.000000000 +0300
+++ bpmdetect/src/track.cpp	2009-06-03 22:26:24.000000000 +0300
@@ -20,6 +20,8 @@
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
+#include <cstdio>
+
 #include "track.h"
 #include "trackfmod.h"
 #include "BPMDetect.h"