Blame SOURCES/ladspa-1.13-plugindir.patch

d91c06
--- src/search.c		2001-07-21 09:04:23.000000000 -0700
d91c06
+++ src/search.c.plugindir	2007-10-09 04:43:30.000000000 -0700
d91c06
@@ -99,10 +99,7 @@
d91c06
 
d91c06
   pcLADSPAPath = getenv("LADSPA_PATH");
d91c06
   if (!pcLADSPAPath) {
d91c06
-    fprintf(stderr,
d91c06
-	    "Warning: You do not have a LADSPA_PATH "
d91c06
-	    "environment variable set.\n");
d91c06
-    return;
d91c06
+    pcLADSPAPath = PLUGINDIR;
d91c06
   }
d91c06
   
d91c06
   pcStart = pcLADSPAPath;
d91c06
--- src/load.c			2001-07-21 09:04:23.000000000 -0700
d91c06
+++ src/load.c.plugindir	2007-10-09 04:42:47.000000000 -0700
d91c06
@@ -54,6 +54,8 @@
d91c06
        to search. */
d91c06
 
d91c06
     pcLADSPAPath = getenv("LADSPA_PATH");
d91c06
+    if (! pcLADSPAPath)
d91c06
+      pcLADSPAPath = PLUGINDIR;
d91c06
     
d91c06
     if (pcLADSPAPath) {
d91c06