mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-19 20:56:58 +00:00
alsa-lib: 1.2.4
This commit is contained in:
parent
cbd962343f
commit
353bf3e1c4
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
patch -p1 < fix-dlo.patch
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
e81fc5b7afcaee8c9fd7f64a1e3043e88d62e9ad2c4cff55f578df6b0a9abe15 alsa-lib-1.2.3.2.tar.bz2
|
f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7
|
||||||
|
e662212525269cc01c56f36328133b98a7f39f144815c3e6e251bd7832d57f96
|
||||||
|
|
26
extra/alsa-lib/patches/fix-dlo.patch
Normal file
26
extra/alsa-lib/patches/fix-dlo.patch
Normal 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;
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.2.3.2 1
|
1.2.4 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user