1 |
aballier 09/09/04 07:56:17 |
2 |
|
3 |
Added: zynaddsubfx-2.4.0-nullmidiin.patch |
4 |
Log: |
5 |
Fix build with no useflag enabled, bug #283267 |
6 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: zynaddsubfx-2.4.0-nullmidiin.patch |
15 |
=================================================================== |
16 |
Index: ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.cpp |
17 |
=================================================================== |
18 |
--- ZynAddSubFX-2.4.0.orig/src/Input/NULLMidiIn.cpp |
19 |
+++ ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.cpp |
20 |
@@ -34,7 +34,7 @@ NULLMidiIn::~NULLMidiIn() |
21 |
* Get the midi command,channel and parameters |
22 |
* It returns MidiNull because it is a dummy driver |
23 |
*/ |
24 |
-void NULLMidiIn::getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,unsigned char *cmdparams) |
25 |
+void NULLMidiIn::getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,int *cmdparams) |
26 |
{ |
27 |
cmdtype=MidiNull; |
28 |
}; |
29 |
Index: ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.h |
30 |
=================================================================== |
31 |
--- ZynAddSubFX-2.4.0.orig/src/Input/NULLMidiIn.h |
32 |
+++ ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.h |
33 |
@@ -39,7 +39,7 @@ public: |
34 |
/**Get the midi command,channel and parameters |
35 |
* It returns MidiNull because it is a dummy driver |
36 |
*/ |
37 |
- void getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,unsigned char *cmdparams); |
38 |
+ void getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,int *cmdparams); |
39 |
|
40 |
private: |
41 |
}; |