Dash:
[t2.git] / package / audio / tse3 / hotfix-gcc43.patch
blob8779acf54d6bb7580bee5ea9b09283843f9ae888
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../tse3/gcc43.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur tse3-0.3.1-orig/src/examples/recording/recording.cpp tse3-0.3.1/src/examples/recording/recording.cpp
18 --- tse3-0.3.1-orig/src/examples/recording/recording.cpp 2009-02-17 21:31:01.000000000 +0000
19 +++ tse3-0.3.1/src/examples/recording/recording.cpp 2009-02-17 21:38:29.000000000 +0000
20 @@ -27,6 +27,7 @@
21 **************************************************************/
23 #include <iostream>
24 +#include <cstdlib>
26 // Used in step 1
27 #include "tse3/Metronome.h"
28 diff -Nur tse3-0.3.1-orig/src/tse3/MidiFile.cpp tse3-0.3.1/src/tse3/MidiFile.cpp
29 --- tse3-0.3.1-orig/src/tse3/MidiFile.cpp 2009-02-17 21:31:01.000000000 +0000
30 +++ tse3-0.3.1/src/tse3/MidiFile.cpp 2009-02-17 21:40:03.000000000 +0000
31 @@ -30,6 +30,7 @@
33 #include <fstream>
34 #include <string>
35 +#include <cstring>
36 #include <queue>
37 #include <math.h>
39 diff -Nur tse3-0.3.1-orig/src/tse3/Serializable.h tse3-0.3.1/src/tse3/Serializable.h
40 --- tse3-0.3.1-orig/src/tse3/Serializable.h 2009-02-17 21:31:01.000000000 +0000
41 +++ tse3-0.3.1/src/tse3/Serializable.h 2009-02-17 21:41:26.000000000 +0000
42 @@ -20,6 +20,7 @@
43 #include <iosfwd>
44 #include <iomanip>
45 #include <cstddef>
46 +#include <iostream>
48 namespace TSE3
50 diff -Nur tse3-0.3.1-orig/src/tse3/TSE2MDL.cpp tse3-0.3.1/src/tse3/TSE2MDL.cpp
51 --- tse3-0.3.1-orig/src/tse3/TSE2MDL.cpp 2009-02-17 21:31:01.000000000 +0000
52 +++ tse3-0.3.1/src/tse3/TSE2MDL.cpp 2009-02-17 21:42:09.000000000 +0000
53 @@ -38,6 +38,7 @@
54 #include "tse3/Progress.h"
56 #include <fstream>
57 +#include <cstring>
59 using namespace TSE3;
61 diff -Nur tse3-0.3.1-orig/src/tse3/cmd/Phrase.h tse3-0.3.1/src/tse3/cmd/Phrase.h
62 --- tse3-0.3.1-orig/src/tse3/cmd/Phrase.h 2009-02-17 21:31:01.000000000 +0000
63 +++ tse3-0.3.1/src/tse3/cmd/Phrase.h 2009-02-17 21:32:34.000000000 +0000
64 @@ -29,6 +29,7 @@
65 class Phrase;
66 class Song;
67 class Part;
68 + class PhraseEdit;
70 namespace Cmd
72 diff -Nur tse3-0.3.1-orig/src/tse3/plt/OSS.cpp tse3-0.3.1/src/tse3/plt/OSS.cpp
73 --- tse3-0.3.1-orig/src/tse3/plt/OSS.cpp 2009-02-17 21:31:01.000000000 +0000
74 +++ tse3-0.3.1/src/tse3/plt/OSS.cpp 2009-02-17 21:40:49.000000000 +0000
75 @@ -21,6 +21,7 @@
77 #include <stdlib.h>
78 #include <stdio.h>
79 +#include <cstring>
80 #include <unistd.h>
81 #include <fcntl.h>
82 #include <stdarg.h>
83 diff -Nur tse3-0.3.1-orig/src/tse3play/tse3play.cpp tse3-0.3.1/src/tse3play/tse3play.cpp
84 --- tse3-0.3.1-orig/src/tse3play/tse3play.cpp 2009-02-17 21:31:01.000000000 +0000
85 +++ tse3-0.3.1/src/tse3play/tse3play.cpp 2009-02-17 21:42:48.000000000 +0000
86 @@ -32,6 +32,7 @@
87 #include "tse3/Error.h"
88 #include "tse3/Metronome.h"
89 #include <fstream>
90 +#include <cstdlib>
92 #ifdef HAVE_CONFIG_H
93 #include "config.h"