[SCM] calf/master: + LV2: attempt at fixing compilation with no LV2

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:35 UTC 2013


The following commit has been merged in the master branch:
commit a5d4ea698e945b340b70e7dfe586928ded8a3f0b
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Mon Nov 24 19:52:58 2008 +0000

    + LV2: attempt at fixing compilation with no LV2

diff --git a/src/modules_small.cpp b/src/modules_small.cpp
index 4019597..096d353 100644
--- a/src/modules_small.cpp
+++ b/src/modules_small.cpp
@@ -1809,7 +1809,9 @@ const LV2_Descriptor *calf_plugins::lv2_small_descriptor(uint32_t index)
 
 void calf_plugins::get_all_small_plugins(plugin_list_info_iface *iface)
 {
+#if USE_LV2
     #define PER_SMALL_MODULE_ITEM(name, id) { plugin_info_iface *pii = &iface->plugin(id); small_plugins::name##_audio_module::plugin_info(pii); pii->finalize(); }
     #include <calf/modulelist.h>
+#endif
 }
 

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list