Patchwork [3/5] portaudio: needs threads

login
register
mail settings
Submitter gilles.talis@gmail.com
Date May 23, 2013, 12:24 a.m.
Message ID <1369268647-13128-3-git-send-email-gilles.talis@gmail.com>
Download mbox | patch
Permalink /patch/245788/
State Accepted
Headers show

Comments

gilles.talis@gmail.com - May 23, 2013, 12:24 a.m.
Fixes:
http://autobuild.buildroot.org/results/ba2/ba2d3832cb6838b2126e0f7db223305eab579d59

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
---
 package/portaudio/Config.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Peter Korsgaard - May 23, 2013, 8:37 p.m.
>>>>> "Gilles" == Gilles Talis <gilles.talis@gmail.com> writes:

 Gilles> Fixes:
 Gilles> http://autobuild.buildroot.org/results/ba2/ba2d3832cb6838b2126e0f7db223305eab579d59

 Gilles> Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
 Gilles> ---
 Gilles>  package/portaudio/Config.in |    4 ++++
 Gilles>  1 files changed, 4 insertions(+), 0 deletions(-)

 Gilles> diff --git a/package/portaudio/Config.in b/package/portaudio/Config.in
 Gilles> index df884a7..0a4d71b 100644
 Gilles> --- a/package/portaudio/Config.in
 Gilles> +++ b/package/portaudio/Config.in
 Gilles> @@ -1,11 +1,15 @@
 Gilles>  config BR2_PACKAGE_PORTAUDIO
 Gilles>  	bool "portaudio"
 Gilles> +	depends on BR2_TOOLCHAIN_HAS_THREADS
 Gilles>  	help
 Gilles>  	  PortAudio is a free, cross-platform, open-source,
 Gilles>  	  audio I/O library.
 
 Gilles>  	  http://www.portaudio.com/
 
 Gilles> +comment "portaudio needs a toolchain threads support"
 Gilles> +	depends on !BR2_TOOLCHAIN_HAS_THREADS
 Gilles> +

This needs to go either above BR2_PACKAGE_PORTAUDIO or all the way at
the bottom, otherwise the suboptions doesn't get properly indented in
menuconfig.

Committed with that fixed, thanks.

Patch

diff --git a/package/portaudio/Config.in b/package/portaudio/Config.in
index df884a7..0a4d71b 100644
--- a/package/portaudio/Config.in
+++ b/package/portaudio/Config.in
@@ -1,11 +1,15 @@ 
 config BR2_PACKAGE_PORTAUDIO
 	bool "portaudio"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  PortAudio is a free, cross-platform, open-source,
 	  audio I/O library.
 
 	  http://www.portaudio.com/
 
+comment "portaudio needs a toolchain threads support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 if BR2_PACKAGE_PORTAUDIO
 
 config BR2_PACKAGE_PORTAUDIO_ALSA