1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/audio/mixxx/files/patch-src__controllers__controllermanager.cpp
Martin Wilke 90234f16f1 - Update to 1.11.0
PR:		178956
Submitted by:	Ports Fury
2013-05-28 13:47:40 +00:00

24 lines
654 B
C++

--- src/controllers/controllermanager.cpp.orig
+++ src/controllers/controllermanager.cpp
@@ -12,7 +12,10 @@
#include "controllers/defs_controllers.h"
#include "controllers/controllerlearningeventfilter.h"
+#ifdef __PORTMIDI__
#include "controllers/midi/portmidienumerator.h"
+#endif
+
#ifdef __HSS1394__
#include "controllers/midi/hss1394enumerator.h"
#endif
@@ -78,7 +81,9 @@
m_pPresetInfoManager = new PresetInfoEnumerator(m_pConfig);
// Instantiate all enumerators
+#ifdef __PORTMIDI__
m_enumerators.append(new PortMidiEnumerator());
+#endif
#ifdef __HSS1394__
m_enumerators.append(new Hss1394Enumerator());
#endif