Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/amsynth/files: amsynth-1.2.0+gcc-4.3.patch
Date: Sun, 20 Apr 2008 17:52:09
Message-Id: E1Jndhv-0007JH-4v@stork.gentoo.org
1 flameeyes 08/04/20 17:52:07
2
3 Added: amsynth-1.2.0+gcc-4.3.patch
4 Log:
5 Add a check for midi USE flag on alsa-lib needed to build, thanks to Patrick for reporting in bug #216890. Also add a patch to build with GCC 4.3.
6 (Portage version: 2.1.5_rc5)
7
8 Revision Changes Path
9 1.1 media-sound/amsynth/files/amsynth-1.2.0+gcc-4.3.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/files/amsynth-1.2.0+gcc-4.3.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/files/amsynth-1.2.0+gcc-4.3.patch?rev=1.1&content-type=text/plain
13
14 Index: amsynth-1.2.0+gcc-4.3.patch
15 ===================================================================
16 https://sourceforge.net/tracker/index.php?func=detail&aid=1947310&group_id=47275&atid=448967
17
18 Index: amSynth-1.2.0/src/Config.cc
19 ===================================================================
20 --- amSynth-1.2.0.orig/src/Config.cc
21 +++ amSynth-1.2.0/src/Config.cc
22 @@ -6,6 +6,7 @@
23
24 #include <fstream>
25 #include <iostream>
26 +#include <cstdlib>
27
28 using namespace std;
29
30 Index: amSynth-1.2.0/src/drivers/MidiInterface.cc
31 ===================================================================
32 --- amSynth-1.2.0.orig/src/drivers/MidiInterface.cc
33 +++ amSynth-1.2.0/src/drivers/MidiInterface.cc
34 @@ -8,6 +8,7 @@
35 #include "OSSMidiDriver.h"
36
37 #include <iostream>
38 +#include <strings.h>
39
40 #define MIDI_BUF_SIZE 64
41 void sched_realtime (); // defined in main.cc
42 Index: amSynth-1.2.0/src/GUI/PresetControllerView.cc
43 ===================================================================
44 --- amSynth-1.2.0.orig/src/GUI/PresetControllerView.cc
45 +++ amSynth-1.2.0/src/GUI/PresetControllerView.cc
46 @@ -8,7 +8,6 @@
47 #include <stdio.h>
48 #include <iostream>
49
50 -using SigC::slot;
51 using sigc::bind;
52 using std::cout;
53 using namespace std;
54 Index: amSynth-1.2.0/src/MidiController.cc
55 ===================================================================
56 --- amSynth-1.2.0.orig/src/MidiController.cc
57 +++ amSynth-1.2.0/src/MidiController.cc
58 @@ -8,6 +8,7 @@
59 #ifdef _DEBUG
60 #include <iostream>
61 #endif
62 +#include <cstdlib>
63
64 using namespace std;
65
66 Index: amSynth-1.2.0/src/Parameter.cc
67 ===================================================================
68 --- amSynth-1.2.0.orig/src/Parameter.cc
69 +++ amSynth-1.2.0/src/Parameter.cc
70 @@ -4,6 +4,8 @@
71
72 #include "Parameter.h"
73
74 +#include <cstdlib>
75 +
76 #ifdef _DEBUG
77 #include <iostream>
78 #endif
79 Index: amSynth-1.2.0/src/VoiceAllocationUnit.cc
80 ===================================================================
81 --- amSynth-1.2.0.orig/src/VoiceAllocationUnit.cc
82 +++ amSynth-1.2.0/src/VoiceAllocationUnit.cc
83 @@ -9,6 +9,7 @@
84 #include "Effects/Distortion.h"
85
86 #include <iostream>
87 +#include <cstring>
88 #include <math.h>
89 #include <assert.h>
90
91
92
93
94 --
95 gentoo-commits@l.g.o mailing list