alsa-lib: 1.2.4

This commit is contained in:
Dylan Araps 2020-10-21 17:46:31 +03:00
parent cbd962343f
commit 353bf3e1c4
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
5 changed files with 33 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
patch -p1 < fix-dlo.patch
./configure \
--without-debug \
--prefix=/usr

View File

@ -1 +1,2 @@
e81fc5b7afcaee8c9fd7f64a1e3043e88d62e9ad2c4cff55f578df6b0a9abe15 alsa-lib-1.2.3.2.tar.bz2
f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7
e662212525269cc01c56f36328133b98a7f39f144815c3e6e251bd7832d57f96

View File

@ -0,0 +1,26 @@
dlmisc.c:95:7: error: 'snd_plugin_dir_set' undeclared (first use in this function)
95 | if (!snd_plugin_dir_set) {
| ^~~~~~~~~~~~~~~~~~
dlmisc.c:95:7: note: each undeclared identifier is reported only once for each function it appears in
dlmisc.c:98:4: error: 'snd_plugin_dir' undeclared (first use in this function)
98 | snd_plugin_dir = strdup(env);
|
--- a/src/dlmisc.c
+++ b/src/dlmisc.c
@@ -91,6 +91,7 @@
*/
int snd_dlpath(char *path, size_t path_len, const char *name)
{
+#ifdef DL_ORIGIN_AVAILABLE
snd_dlpath_lock();
if (!snd_plugin_dir_set) {
const char *env = getenv("ALSA_PLUGIN_DIR");
@@ -104,6 +105,7 @@
snprintf(path, path_len, "%s/%s",
snd_plugin_dir ? snd_plugin_dir : ALSA_PLUGIN_DIR, name);
snd_dlpath_unlock();
+#endif
return 0;
}

View File

@ -1 +1,2 @@
https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.3.2.tar.bz2
https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.4.tar.bz2
patches/fix-dlo.patch

View File

@ -1 +1 @@
1.2.3.2 1
1.2.4 1