A new user interface for you! Read more...

File clanlib-alsa.patch of Package clanlib

--- a/Sources/Sound/Unix/soundoutput_alsa.h
+++ b/Sources/Sound/Unix/soundoutput_alsa.h
@@ -36,9 +36,6 @@
 #ifdef HAVE_ALSA_ASOUNDLIB_H
 #include <alsa/asoundlib.h> 
 #endif
-#ifdef HAVE_ASOUNDLIB_H
-#include <asoundlib.h>
-#endif
 
 class CL_SoundOutput_alsa : public CL_SoundOutput_Impl
 {
--- a/configure.ac
+++ b/configure.ac
@@ -520,7 +520,7 @@ if test "$enable_clanSound" != "no"; the
 	sound_libs=""
 	have_alsa=no
 	AC_CHECK_LIB(ossaudio, _oss_ioctl, sound_libs=-lossaudio)
-	AC_CHECK_HEADERS(asoundlib.h alsa/asoundlib.h, [have_alsa=yes && break])
+	AC_CHECK_HEADERS(alsa/asoundlib.h, [have_alsa=yes && break])
 	if test "$have_alsa" != "no"; then
 		sound_libs="$sound_libs -lasound"
 	fi
--- a/configure
+++ b/configure
@@ -17415,7 +17415,7 @@ if test "x$ac_cv_lib_ossaudio__oss_ioctl
   sound_libs=-lossaudio
 fi
 
-	for ac_header in asoundlib.h alsa/asoundlib.h
+	for ac_header in alsa/asoundlib.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"