port audio/hydrogen looks in either $LADSPA_PATH for LADSPA plugins or in
/usr/lib/ladspa:${LOCALBASE}/lib/hydrogen/plugins:/usr/local/lib/ladspa
if that
environment variable doesn't exist. The problem is that it stops
searching for plugins
after the first failed directory lookup. This patch removes
/usr/lib/ladspa from the
plugin lookup path, though changing the code to not abort after failed
directory lookup
would probably be better.
--- src/lib/Preferences.cpp.orig Mon Oct 2 00:13:38 2006
+++ src/lib/Preferences.cpp Mon Oct 2 00:14:37 2006
@@ -79,9 +79,8 @@ Preferences::Preferences()
m_ladspaPathVect.push_back(sLadspaPath);
}
else {
- m_ladspaPathVect.push_back( "/usr/lib/ladspa" );
- m_ladspaPathVect.push_back( string( CONFIG_PREFIX ).append(
"/lib/hydrogen/plugins" ) );
m_ladspaPathVect.push_back( "/usr/local/lib/ladspa" );
+ m_ladspaPathVect.push_back( string( CONFIG_PREFIX ).append(
"/lib/hydrogen/plugins" ) );
}
m_pDefaultUIStyle = new UIStyle();