summaryrefslogtreecommitdiff
path: root/package/alsa-lib/patches/patch-src_conf_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-17 18:39:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-17 18:39:11 +0200
commit07219bb6c9eb77a0e06449be6b4339c68253284a (patch)
tree6c613d8d3b11a43a55c5729d0ff5a80c9bb37d98 /package/alsa-lib/patches/patch-src_conf_c
parent29d2f64bccfd2a2944487d4378d2c1d914363b71 (diff)
fix alsa-lib compile, as usual with ideas and patches from sab0tage
Diffstat (limited to 'package/alsa-lib/patches/patch-src_conf_c')
-rw-r--r--package/alsa-lib/patches/patch-src_conf_c13
1 files changed, 13 insertions, 0 deletions
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:</P>
+
+ #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 {