[SCM] calf/master: Fix LADSPA-less build.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:10 UTC 2013


The following commit has been merged in the master branch:
commit afa2c18da160339dbc29132a2477bcbe2b7c77af
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Thu May 6 08:54:19 2010 +0100

    Fix LADSPA-less build.

diff --git a/src/calf/ladspa_wrap.h b/src/calf/ladspa_wrap.h
index 14788b9..069a6ca 100644
--- a/src/calf/ladspa_wrap.h
+++ b/src/calf/ladspa_wrap.h
@@ -23,6 +23,7 @@
 
 #if USE_LADSPA
 
+#include <string.h>
 #include <ladspa.h>
 #if USE_DSSI
 #include <dssi.h>
diff --git a/src/calf/lv2wrap.h b/src/calf/lv2wrap.h
index 7c014d2..3a27b9e 100644
--- a/src/calf/lv2wrap.h
+++ b/src/calf/lv2wrap.h
@@ -33,6 +33,7 @@
 #include <calf/lv2_progress.h>
 #include <calf/lv2_string_port.h>
 #include <calf/lv2_uri_map.h>
+#include <string.h>
 
 namespace calf_plugins {
 
diff --git a/src/plugin.cpp b/src/plugin.cpp
index d2df729..1f6a5c4 100644
--- a/src/plugin.cpp
+++ b/src/plugin.cpp
@@ -183,7 +183,6 @@ void ladspa_instance::process_dssi_event(snd_seq_event_t &event)
     }
 }
 #endif
-#endif
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
 // LADSPA callbacks
@@ -451,6 +450,8 @@ ladspa_plugin_metadata_set::~ladspa_plugin_metadata_set()
 #endif
 }
 
+#endif
+
 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
 #if USE_LV2

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list