Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] wavpack: needs wchar support
@ 2017-02-16 20:41 Jörg Krause
  2017-02-16 20:41 ` [Buildroot] [PATCH 2/2] wavpack: properly wrap help text Jörg Krause
  2017-02-16 21:19 ` [Buildroot] [PATCH 1/2] wavpack: needs wchar support Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Jörg Krause @ 2017-02-16 20:41 UTC (permalink / raw)
  To: buildroot

Building wavpack using a toolchain without wchar support fails:

```
import_id3.c:37:34: error: unknown type name 'wchar_t'
```

Fixes:
http://autobuild.buildroot.net/results/9a6/9a693f5b798571917f36cfb7661e2f2638aac550/
http://autobuild.buildroot.net/results/44c/44c8227043045baf4f043da44b8129e43dfff687/
http://autobuild.buildroot.net/results/a80/a80221dcc0860046ebdf0bbf454e056b1e20df83/
.. and more.

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 package/wavpack/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/wavpack/Config.in b/package/wavpack/Config.in
index 1ef3e420d..5a27b2e15 100644
--- a/package/wavpack/Config.in
+++ b/package/wavpack/Config.in
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_WAVPACK
 	bool "wavpack"
+	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
 	  WavPack is a completely open audio compression format providing
 	  lossless, high-quality lossy, and a unique hybrid compression mode.
 
 	  http://www.wavpack.com/
+
+comment "wavpack needs a toolchain w/ wchar"
+	depends on !BR2_USE_WCHAR
-- 
2.11.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-17 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 20:41 [Buildroot] [PATCH 1/2] wavpack: needs wchar support Jörg Krause
2017-02-16 20:41 ` [Buildroot] [PATCH 2/2] wavpack: properly wrap help text Jörg Krause
2017-02-16 21:19 ` [Buildroot] [PATCH 1/2] wavpack: needs wchar support Thomas Petazzoni
2017-02-17  5:06   ` Bernd Kuhls
2017-02-17  7:12     ` Jörg Krause
2017-02-17 13:27       ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox