From 07219bb6c9eb77a0e06449be6b4339c68253284a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 17 Sep 2013 18:39:11 +0200 Subject: fix alsa-lib compile, as usual with ideas and patches from sab0tage --- package/alsa-lib/patches/patch-src_conf_c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/alsa-lib/patches/patch-src_conf_c (limited to 'package/alsa-lib/patches/patch-src_conf_c') diff --git a/package/alsa-lib/patches/patch-src_conf_c b/package/alsa-lib/patches/patch-src_conf_c new file mode 100644 index 000000000..a6f296614 --- /dev/null +++ b/package/alsa-lib/patches/patch-src_conf_c @@ -0,0 +1,13 @@ +* added idea/patch from https://github.com/rofl0r/sabotage + +--- alsa-lib-1.0.27.2.orig/src/conf.c 2013-07-08 14:31:36.000000000 +0200 ++++ alsa-lib-1.0.27.2/src/conf.c 2013-09-17 18:30:14.000000000 +0200 +@@ -428,7 +428,7 @@ beginning:

+ + #ifdef HAVE_LIBPTHREAD + static pthread_mutex_t snd_config_update_mutex = +- PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; ++ {{{1,0,0,0,0,0,0,0,0,0}}}; + #endif + + struct _snd_config { -- cgit v1.2.3