diff options
Diffstat (limited to 'testing/ladspa/0003-plugindir.patch')
-rw-r--r-- | testing/ladspa/0003-plugindir.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/testing/ladspa/0003-plugindir.patch b/testing/ladspa/0003-plugindir.patch deleted file mode 100644 index bd78ee51fc..0000000000 --- a/testing/ladspa/0003-plugindir.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8e18df685c5fe747c6d250460d265a402f7900b1 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Sat, 4 Feb 2012 22:05:24 +0000 -Subject: [PATCH 3/3] plugindir - ---- - src/load.c | 2 ++ - src/search.c | 5 +---- - 2 files changed, 3 insertions(+), 4 deletions(-) - -diff --git a/src/load.c b/src/load.c -index c2a5aa7..e221c10 100644 ---- a/src/load.c -+++ b/src/load.c -@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, int iFlag) { - to search. */ - - pcLADSPAPath = getenv("LADSPA_PATH"); -+ if (! pcLADSPAPath) -+ pcLADSPAPath = PLUGINDIR; - - if (pcLADSPAPath) { - -diff --git a/src/search.c b/src/search.c -index 0006712..a6b2e78 100644 ---- a/src/search.c -+++ b/src/search.c -@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCallbackFunction fCallbackFunction) { - - 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; --- -1.7.9 - |