Hello,

because I was rather annoyed by the default behavior of listplugin etc,
I added some default path for them. 

This is required to comply to Debian Policy (applications should not require 
an environmental variable set to work).


--- ladspa-sdk-0.orig/src/search.c
+++ ladspa-sdk-0/src/search.c
@@ -100,7 +100,7 @@
     fprintf(stderr,
            "Warning: You do not have a LADSPA_PATH "
            "environment variable set.\n");
-    return;
+    pcLADSPAPath= "/usr/lib/ladspa"; /* add defaults (Junichi Uekawa 
[EMAIL PROTECTED]) */
   }
   
   pcStart = pcLADSPAPath;
--- ladspa-sdk-0.orig/src/load.c
+++ ladspa-sdk-0/src/load.c
@@ -54,6 +54,8 @@
        to search. */
 
     pcLADSPAPath = getenv("LADSPA_PATH");
+    if (pcLADSPAPath)
+      pcLADSPAPath="/usr/lib/ladspa"; /* added by Junichi Uekawa ([EMAIL PROTECTED]) 
+*/
     
     if (pcLADSPAPath) {
 

regards,
        junichi

--
University: [EMAIL PROTECTED]    Netfort: [EMAIL PROTECTED]
                                            Debian: [EMAIL PROTECTED] 
dancer, a.k.a. Junichi Uekawa   http://www.netfort.gr.jp/~dancer
 Dept. of Knowledge Engineering and Computer Science, Doshisha University.

Reply via email to