wok-next view ladspa/stuff/patches/fallback-ladspa-path.patch @ rev 21590
updated dialog (1.3-20181107 -> 1.3.20200327)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:00:06 2020 +0100 (2020-06-24) |
parents | |
children |
line source
1 diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c
2 --- ladspa_sdk.orig/src/load.c 2012-09-26 07:37:24.000000000 +0300
3 +++ ladspa_sdk/src/load.c 2012-09-26 07:38:58.000000000 +0300
4 @@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in
5 to search. */
7 pcLADSPAPath = getenv("LADSPA_PATH");
8 + if (! pcLADSPAPath)
9 + pcLADSPAPath = "/usr/lib/ladspa";
11 if (pcLADSPAPath) {
13 diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c
14 --- ladspa_sdk.orig/src/search.c 2012-09-26 07:37:24.000000000 +0300
15 +++ ladspa_sdk/src/search.c 2012-09-26 07:38:46.000000000 +0300
16 @@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal
18 pcLADSPAPath = getenv("LADSPA_PATH");
19 if (!pcLADSPAPath) {
20 - fprintf(stderr,
21 - "Warning: You do not have a LADSPA_PATH "
22 - "environment variable set.\n");
23 - return;
24 + pcLADSPAPath = "/usr/lib/ladspa";
25 }
27 pcStart = pcLADSPAPath;