vcpkg/ports/alsa/fix-plugin-dir.patch
2022-12-02 09:16:18 -08:00

14 lines
372 B
Diff

diff --git a/src/dlmisc.c b/src/dlmisc.c
index 1dd91356..19ee9cfa 100644
--- a/src/dlmisc.c
+++ b/src/dlmisc.c
@@ -95,7 +95,7 @@ int snd_dlpath(char *path, size_t path_len, const char *name)
if (env) {
snd_plugin_dir = strdup(env);
} else {
- snd_dlinfo_origin(path, path_len);
+ snd_plugin_dir = strdup(ALSA_PLUGIN_DIR);
}
snd_plugin_dir_set = 1;
}