ladspa/ladspa-1.13-plugindir.patch
Petr Šabata 33471995bf RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/ladspa#73daea206708562dd4bbf5dbc64af9b4689fa6dc
2020-10-15 15:07:21 +02:00

26 lines
680 B
Diff

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