* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / audio / hydrogen / hotfix-gcc43.patch
blob156505809bc72eb49eb540eab81b87b29d52463b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../hydrogen/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 --- hydrogen-0.9.3/src/gui/HydrogenApp.cpp.vanilla 2009-02-01 14:46:39.000000000 +0100
18 +++ hydrogen-0.9.3/src/gui/HydrogenApp.cpp 2009-02-01 14:46:55.000000000 +0100
19 @@ -51,6 +51,8 @@
20 #include <qhbox.h>
21 #include <qdir.h>
23 +#include <stdlib.h>
25 HydrogenApp* HydrogenApp::m_pInstance = NULL;
27 HydrogenApp::HydrogenApp( MainForm *pMainForm, Song *pFirstSong )
28 --- hydrogen-0.9.3/src/gui/DrumkitManager.cpp.vanilla 2009-02-01 14:45:27.000000000 +0100
29 +++ hydrogen-0.9.3/src/gui/DrumkitManager.cpp 2009-02-01 14:45:38.000000000 +0100
30 @@ -23,6 +23,8 @@
32 #include <qcursor.h>
34 +#include <stdlib.h>
36 #include "config.h"
37 #include "Skin.h"
38 #include "DrumkitManager.h"
39 --- hydrogen-0.9.3/src/gui/main.cpp.vanilla 2009-02-01 14:47:49.000000000 +0100
40 +++ hydrogen-0.9.3/src/gui/main.cpp 2009-02-01 14:47:56.000000000 +0100
41 @@ -43,6 +43,8 @@
42 #include "lib/Exception.h"
44 #include <iostream>
45 +#include <stdlib.h>
47 using namespace std;
49 void showInfo();
50 --- hydrogen-0.9.3/src/tools/HydrogenPlayer.cpp.vanilla 2009-02-01 14:44:30.000000000 +0100
51 +++ hydrogen-0.9.3/src/tools/HydrogenPlayer.cpp 2009-02-01 14:44:42.000000000 +0100
52 @@ -27,6 +27,7 @@
54 #include <iostream>
55 #include <stdio.h>
56 +#include <stdlib.h>
57 #include <string>
59 #include "lib/Hydrogen.h"
60 --- hydrogen-0.9.3/src/lib/drivers/OssDriver.cpp.vanilla 2009-02-01 14:43:24.000000000 +0100
61 +++ hydrogen-0.9.3/src/lib/drivers/OssDriver.cpp 2009-02-01 14:43:32.000000000 +0100
62 @@ -30,6 +30,7 @@
63 #include "../Preferences.h"
65 #include <pthread.h>
66 +#include <string.h>
68 audioProcessCallback ossDriver_audioProcessCallback;
69 bool ossDriver_running;
70 --- hydrogen-0.9.3/src/lib/FLACFile.cpp.vanilla 2009-02-01 14:43:52.000000000 +0100
71 +++ hydrogen-0.9.3/src/lib/FLACFile.cpp 2009-02-01 14:44:03.000000000 +0100
72 @@ -25,6 +25,8 @@
73 #include "FLACFile.h"
74 #include "Sample.h"
76 +#include <string.h>
78 #include <vector>
79 #include <fstream>