From 3e9e7cda10bcabc667f619dddf0a918484212891 Mon Sep 17 00:00:00 2001
From: Michael Gehring <mg@ebfe.org>
Date: Wed, 21 Dec 2016 20:44:30 +0000
Subject: [PATCH] alsa-lib: update to 1.1.3.

---
 srcpkgs/alsa-lib/patches/musl.patch | 10 ++++++++++
 srcpkgs/alsa-lib/template           |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/alsa-lib/patches/musl.patch

diff --git a/srcpkgs/alsa-lib/patches/musl.patch b/srcpkgs/alsa-lib/patches/musl.patch
new file mode 100644
index 00000000000..5dd759c5ffa
--- /dev/null
+++ b/srcpkgs/alsa-lib/patches/musl.patch
@@ -0,0 +1,10 @@
+--- src/ucm/parser.c.orig	2016-12-20 14:43:20.000000000 +0000
++++ src/ucm/parser.c	2016-12-21 20:59:58.460736188 +0000
+@@ -32,6 +32,7 @@
+ 
+ #include "ucm_local.h"
+ #include <dirent.h>
++#include <limits.h>
+ 
+ /** The name of the environment variable containing the UCM directory */
+ #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
diff --git a/srcpkgs/alsa-lib/template b/srcpkgs/alsa-lib/template
index a73157e2d66..251e23ad3fd 100644
--- a/srcpkgs/alsa-lib/template
+++ b/srcpkgs/alsa-lib/template
@@ -1,6 +1,6 @@
 # Template build file for 'alsa-lib'.
 pkgname=alsa-lib
-version=1.1.2
+version=1.1.3
 revision=1
 build_style=gnu-configure
 configure_args="--with-pythonlibs=-lpython2.7 --with-pythonincludes=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
@@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
 license="LGPL-2.1"
 homepage="http://www.alsa-project.org"
 distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
-checksum=d38dacd9892b06b8bff04923c380b38fb2e379ee5538935ff37e45b395d861d6
+checksum=71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c
 
 pre_configure() {
 	autoreconf -fi