Unbreak LADSPA plugins path searching, don't know what authors

was smoking. Problem noticed by James Wright <jamesw@bsdhosting.co.za>.
Bump PKGNAME.
This commit is contained in:
grange 2006-10-08 16:41:59 +00:00
parent ad619bf358
commit d806139ed5
2 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/09/25 18:56:00 grange Exp $
# $OpenBSD: Makefile,v 1.2 2006/10/08 16:41:59 grange Exp $
COMMENT= "software drum machine"
DISTNAME= hydrogen-0.9.3
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
HOMEPAGE= http://www.hydrogen-music.org/
MAINTAINER= Alexander Yurchenko <grange@openbsd.org>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_lib_fx_LadspaFX_cpp,v 1.1 2006/10/08 16:41:59 grange Exp $
--- src/lib/fx/LadspaFX.cpp.orig Sun Oct 8 20:22:06 2006
+++ src/lib/fx/LadspaFX.cpp Sun Oct 8 20:22:22 2006
@@ -449,7 +449,7 @@ vector<LadspaFXInfo*> LadspaFX::getPlugi
QDir dir( QString( sPluginDir.c_str() ) );
if (!dir.exists()) {
//Logger::getInstance()->log( "[LadspaFX::getPluginList] directory " + sPluginDir + " not found" );
- return pluginList;
+ continue;
}
Logger::getInstance()->log( "[LadspaFX::getPluginList] reading directory: " + sPluginDir );