Debian Codegraph @

debian/patches/03-fix_build_with_rtmidi_2_1.patch

raw symbols SCIP
1 Description: Fix build with rtmidi 2.1
2 Author: Felipe Sateler <[email protected]>
3 Forwarded: Devin Anderson <[email protected]>
4
5 Index: midisnoop/src/engine.cpp
6 ===================================================================
7 --- midisnoop.orig/src/engine.cpp
8 +++ midisnoop/src/engine.cpp
9 @@ -25,6 +25,9 @@
10 #include "engine.h"
11 #include "error.h"
12
13 +// RtError was renamed to RtMidiError in rtmidi 2.1
14 +typedef RtMidiError RtError;
15 +
16 #if QT_VERSION >= 0x040700
17 #include <QtCore/QDateTime>
18 #else
19 @@ -56,9 +59,6 @@ Engine::Engine(QObject *parent):
20 case RtMidi::UNIX_JACK:
21 driverNames.append(tr("JACK Audio Connection Kit"));
22 break;
23 - case RtMidi::WINDOWS_KS:
24 - driverNames.append(tr("Windows Kernel Streaming"));
25 - break;
26 case RtMidi::WINDOWS_MM:
27 driverNames.append(tr("Windows Multimedia MIDI"));
28 break;