Patchwork libcec: needs wchar

login
register
mail settings
Submitter Gustavo Zacarias
Date Sept. 3, 2013, 1:51 p.m.
Message ID <1378216295-6264-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/272261/
State Accepted
Commit 3d2001f2871a85891e216fbc9ad894f5c671c1c1
Headers show

Comments

Gustavo Zacarias - Sept. 3, 2013, 1:51 p.m.
Fixes:
http://autobuild.buildroot.net/results/dae/dae6ec4f75b2aeb793b88567f48d94b07a6a59da/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libcec/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Peter Korsgaard - Sept. 3, 2013, 2:40 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Fixes:
 Gustavo> http://autobuild.buildroot.net/results/dae/dae6ec4f75b2aeb793b88567f48d94b07a6a59da/

Committed, thanks.

Patch

diff --git a/package/libcec/Config.in b/package/libcec/Config.in
index 7a67952..256c6d6 100644
--- a/package/libcec/Config.in
+++ b/package/libcec/Config.in
@@ -2,6 +2,7 @@  config BR2_PACKAGE_LIBCEC
 	bool "libcec"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_WCHAR
 	help
 	  libcec allows you in combination with the right hardware to
 	  control your home theater devices with your TV remote
@@ -9,5 +10,6 @@  config BR2_PACKAGE_LIBCEC
 
 	  http://libcec.pulse-eight.com
 
-comment "libcec requires C++ and threading support in toolchain"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libcec requires C++, WCHAR and threading support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_USE_WCHAR