qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] alsa: fix configure detection of alsa


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] alsa: fix configure detection of alsa
Date: Fri, 20 Jul 2012 23:29:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120613 Iceowl/1.0b1 Icedove/3.0.11

Am 20.07.2012 23:14, schrieb Anthony Liguori:
Handle is uninitialized which causes the configure check to fail.

Cc: malc<address@hidden>
Signed-off-by: Anthony Liguori<address@hidden>
---
  configure |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index cef0a71..8335117 100755
--- a/configure
+++ b/configure
@@ -1888,7 +1888,7 @@ for drv in $audio_drv_list; do
      case $drv in
      alsa)
      audio_drv_probe $drv alsa/asoundlib.h -lasound \
-        "snd_pcm_t **handle; return snd_pcm_close(*handle);"
+        "snd_pcm_t **handle = NULL; return snd_pcm_close(*handle);"
      libs_softmmu="-lasound $libs_softmmu"
      ;;


See also http://patchwork.ozlabs.org/patch/171066/

Regards,

Stefan W.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]