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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
diff -ur miniAudicle-0.1.3.8-orig/chuck/src/chuck_vm.cpp miniAudicle-0.1.3.8/chuck/src/chuck_vm.cpp
--- miniAudicle-0.1.3.8-orig/chuck/src/chuck_vm.cpp 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/chuck_vm.cpp 2009-06-27 21:15:00.000000000 -0400
@@ -47,6 +47,7 @@
#else
#include <unistd.h>
#include <pthread.h>
+ #include <algorithm>
#endif
diff -ur miniAudicle-0.1.3.8-orig/chuck/src/rtaudio.cpp miniAudicle-0.1.3.8/chuck/src/rtaudio.cpp
--- miniAudicle-0.1.3.8-orig/chuck/src/rtaudio.cpp 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/rtaudio.cpp 2009-06-27 21:15:00.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 miniAudicle-0.1.3.8-orig/chuck/src/ugen_stk.cpp miniAudicle-0.1.3.8/chuck/src/ugen_stk.cpp
--- miniAudicle-0.1.3.8-orig/chuck/src/ugen_stk.cpp 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/ugen_stk.cpp 2009-06-27 21:15:00.000000000 -0400
@@ -41,6 +41,7 @@
#include <string.h>
#include <time.h>
#include <float.h>
+#include <climits>
diff -ur miniAudicle-0.1.3.8-orig/chuck/src/ugen_xxx.cpp miniAudicle-0.1.3.8/chuck/src/ugen_xxx.cpp
--- miniAudicle-0.1.3.8-orig/chuck/src/ugen_xxx.cpp 2009-06-27 21:11:20.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/ugen_xxx.cpp 2009-06-27 21:15:31.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 miniAudicle-0.1.3.8-orig/chuck/src/util_hid.cpp miniAudicle-0.1.3.8/chuck/src/util_hid.cpp
--- miniAudicle-0.1.3.8-orig/chuck/src/util_hid.cpp 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/util_hid.cpp 2009-06-27 21:15:00.000000000 -0400
@@ -37,6 +37,7 @@
#include <vector>
#include <map>
+#include <climits>
using namespace std;
diff -ur miniAudicle-0.1.3.8-orig/chuck/src/util_opsc.cpp miniAudicle-0.1.3.8/chuck/src/util_opsc.cpp
--- miniAudicle-0.1.3.8-orig/chuck/src/util_opsc.cpp 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/util_opsc.cpp 2009-06-27 21:15:00.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 miniAudicle-0.1.3.8-orig/chuck/src/util_string.h miniAudicle-0.1.3.8/chuck/src/util_string.h
--- miniAudicle-0.1.3.8-orig/chuck/src/util_string.h 2009-06-27 21:11:20.000000000 -0400
+++ miniAudicle-0.1.3.8/chuck/src/util_string.h 2009-06-27 21:16:12.000000000 -0400
@@ -36,6 +36,7 @@
#include "chuck_def.h"
#include <string>
#include <vector>
+#include <cstdio>
// itoa
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/add.xpm miniAudicle-0.1.3.8/wxw/icons/add.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/add.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/add.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * add_xpm[] = {
+static const char * add_xpm[] = {
"32 32 47 1",
" c None",
". c #C3F8BE",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/led-blue.xpm miniAudicle-0.1.3.8/wxw/icons/led-blue.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/led-blue.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/led-blue.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * led_blue_xpm[] = {
+static const char * led_blue_xpm[] = {
"28 28 431 2",
" c None",
". c #949394",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/led-green.xpm miniAudicle-0.1.3.8/wxw/icons/led-green.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/led-green.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/led-green.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * led_green_xpm[] = {
+static const char * led_green_xpm[] = {
"28 28 443 2",
" c None",
". c #959696",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/led-off.xpm miniAudicle-0.1.3.8/wxw/icons/led-off.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/led-off.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/led-off.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * led_off_xpm[] = {
+static const char * led_off_xpm[] = {
"28 28 143 2",
" c None",
". c #959595",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/led-red.xpm miniAudicle-0.1.3.8/wxw/icons/led-red.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/led-red.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/led-red.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * led_red_xpm[] = {
+static const char * led_red_xpm[] = {
"28 28 434 2",
" c None",
". c #959594",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/miniAudicle.xpm miniAudicle-0.1.3.8/wxw/icons/miniAudicle.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/miniAudicle.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/miniAudicle.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * miniAudicle_xpm[] = {
+static const char * miniAudicle_xpm[] = {
"128 128 1543 2",
" c None",
". c #FF9D20",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/remove.xpm miniAudicle-0.1.3.8/wxw/icons/remove.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/remove.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/remove.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * remove_xpm[] = {
+static const char * remove_xpm[] = {
"32 32 177 2",
" c None",
". c #FFB6B5",
diff -ur miniAudicle-0.1.3.8-orig/wxw/icons/replace.xpm miniAudicle-0.1.3.8/wxw/icons/replace.xpm
--- miniAudicle-0.1.3.8-orig/wxw/icons/replace.xpm 2009-06-27 21:15:03.000000000 -0400
+++ miniAudicle-0.1.3.8/wxw/icons/replace.xpm 2009-06-27 21:15:00.000000000 -0400
@@ -1,5 +1,5 @@
/* XPM */
-static char * replace_xpm[] = {
+static const char * replace_xpm[] = {
"32 32 114 2",
" c None",
". c #5764FF",
|