new file mode 100644
@@ -0,0 +1,36 @@
+diff -urN a/configure.in b/configure.in
+--- a/configure.in 2013-07-08 14:31:36.000000000 +0200
++++ b/configure.in 2014-06-28 12:16:57.702194888 +0200
+@@ -27,19 +27,19 @@
+ dnl Checks for programs.
+
+ dnl try to gues cross-compiler if not set
+-if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
+-then
+- AC_MSG_CHECKING(for cross-compiler)
+-
+- which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
+- which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
+- && CC=${host_cpu}-${host_os}-gcc
+- which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
+- && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
+-
+- AC_MSG_RESULT($CC)
+-fi
+-
++#if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`";
++#then
++# AC_MSG_CHECKING(for cross-compiler)
++#
++# which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
++# which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \
++# && CC=${host_cpu}-${host_os}-gcc
++# which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \
++# && CC=${host_cpu}-${host_vendor}-${host_os}-gcc
++#
++# AC_MSG_RESULT($CC)
++#fi
++#
+ CFLAGS="$CFLAGS -D_GNU_SOURCE"
+
+
@@ -4,3 +4,5 @@ BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
LICENSE = "LGPL-2.1 LGPL-2.0+"
require alsa-lib.inc
+
+SRC_URI += "file://clang.patch"