summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-09-04 07:56:17 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-09-04 07:56:17 +0000
commitbc4b5c69b28560a60ca31bea75581a3840db45ae (patch)
treef22a31df5e31771500640464af8101e07016bb55 /media-sound/zynaddsubfx/files
parentaacgain is no more wrt #277801. (diff)
downloadgentoo-2-bc4b5c69b28560a60ca31bea75581a3840db45ae.tar.gz
gentoo-2-bc4b5c69b28560a60ca31bea75581a3840db45ae.tar.bz2
gentoo-2-bc4b5c69b28560a60ca31bea75581a3840db45ae.zip
Fix build with no useflag enabled, bug #283267
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/zynaddsubfx/files')
-rw-r--r--media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch
new file mode 100644
index 000000000000..261bb1b656f5
--- /dev/null
+++ b/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.0-nullmidiin.patch
@@ -0,0 +1,26 @@
+Index: ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.cpp
+===================================================================
+--- ZynAddSubFX-2.4.0.orig/src/Input/NULLMidiIn.cpp
++++ ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.cpp
+@@ -34,7 +34,7 @@ NULLMidiIn::~NULLMidiIn()
+ * Get the midi command,channel and parameters
+ * It returns MidiNull because it is a dummy driver
+ */
+-void NULLMidiIn::getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,unsigned char *cmdparams)
++void NULLMidiIn::getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,int *cmdparams)
+ {
+ cmdtype=MidiNull;
+ };
+Index: ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.h
+===================================================================
+--- ZynAddSubFX-2.4.0.orig/src/Input/NULLMidiIn.h
++++ ZynAddSubFX-2.4.0/src/Input/NULLMidiIn.h
+@@ -39,7 +39,7 @@ public:
+ /**Get the midi command,channel and parameters
+ * It returns MidiNull because it is a dummy driver
+ */
+- void getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,unsigned char *cmdparams);
++ void getmidicmd(MidiCmdType &cmdtype,unsigned char &cmdchan,int *cmdparams);
+
+ private:
+ };