summaryrefslogtreecommitdiff
blob: 71a999fb6e3011c345664cdb3c933ba23d1c467f (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/chuck_vm.cpp audicle-1.0.0.6/lang/chuck-1.2.1.1/src/chuck_vm.cpp
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/chuck_vm.cpp	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/chuck_vm.cpp	2009-06-27 16:45:36.000000000 -0400
@@ -47,6 +47,7 @@
 #else
   #include <unistd.h>
   #include <pthread.h>
+  #include <algorithm>
 #endif
 
 
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/rtaudio.cpp audicle-1.0.0.6/lang/chuck-1.2.1.1/src/rtaudio.cpp
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/rtaudio.cpp	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/rtaudio.cpp	2009-06-27 16:47:50.000000000 -0400
@@ -50,6 +50,7 @@
 #include "chuck_errmsg.h"
 #include "digiio_rtaudio.h"
 #include <stdio.h>
+#include <climits>
 // old
 // #include "RtAudio.h"
 // #include <iostream>
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/ugen_stk.cpp audicle-1.0.0.6/lang/chuck-1.2.1.1/src/ugen_stk.cpp
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/ugen_stk.cpp	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/ugen_stk.cpp	2009-06-27 16:48:30.000000000 -0400
@@ -41,7 +41,7 @@
 #include <string.h>
 #include <time.h>
 #include <float.h>
-
+#include <climits>
 
 
 
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/ugen_xxx.cpp audicle-1.0.0.6/lang/chuck-1.2.1.1/src/ugen_xxx.cpp
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/ugen_xxx.cpp	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/ugen_xxx.cpp	2009-06-27 16:51:21.000000000 -0400
@@ -2587,7 +2587,7 @@
         // open it
         SF_INFO info;
         info.format = 0;
-        char * format = strrchr( filename, '.');
+        const char * format = strrchr( filename, '.');
         if( format && strcmp( format, ".raw" ) == 0 )
         { 
             fprintf( stderr, "[chuck](via SndBuf) %s :: type is '.raw'...\n    assuming 16 bit signed mono (PCM)\n", filename );
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/util_hid.cpp audicle-1.0.0.6/lang/chuck-1.2.1.1/src/util_hid.cpp
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/util_hid.cpp	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/util_hid.cpp	2009-06-27 16:53:26.000000000 -0400
@@ -37,6 +37,7 @@
 
 #include <vector>
 #include <map>
+#include <climits>
 
 using namespace std;
 
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/util_opsc.cpp audicle-1.0.0.6/lang/chuck-1.2.1.1/src/util_opsc.cpp
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/util_opsc.cpp	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/util_opsc.cpp	2009-06-27 16:53:03.000000000 -0400
@@ -56,6 +56,7 @@
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <algorithm>
 #endif
 
 #if defined(__MACOSX_CORE__)
diff -ur audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/util_string.h audicle-1.0.0.6/lang/chuck-1.2.1.1/src/util_string.h
--- audicle-1.0.0.6-orig/lang/chuck-1.2.1.1/src/util_string.h	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/lang/chuck-1.2.1.1/src/util_string.h	2009-06-27 16:52:32.000000000 -0400
@@ -36,6 +36,7 @@
 #include "chuck_def.h"
 #include <string>
 #include <vector>
+#include <cstdio>
 
 
 // itoa
diff -ur audicle-1.0.0.6-orig/src/audicle_def.h audicle-1.0.0.6/src/audicle_def.h
--- audicle-1.0.0.6-orig/src/audicle_def.h	2009-06-27 16:41:29.000000000 -0400
+++ audicle-1.0.0.6/src/audicle_def.h	2009-06-27 16:44:42.000000000 -0400
@@ -39,8 +39,9 @@
 
 #include "chuck_def.h"
 
-#include <stdio.h>
-#include <math.h>
+#include <cstdio>
+#include <cmath>
+#include <algorithm>
 #include <assert.h>
 #ifndef __PLATFORM_WIN32__
   #include <unistd.h>