Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gdbm: needs wchar
@ 2021-09-30  5:55 Fabrice Fontaine
  2021-10-03  8:21 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-30  5:55 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

wchar is a mandatoy dependency since bump to version 1.21 in commit
60add404db424e2652673a7b6a3ba2bc80380b42 and
https://git.savannah.gnu.org/cgit/gdbm.git/commit/src/datconv.c?id=0019677be7b751eb2d9b7e9ab25994cb696c7822

datconv.c:18:10: fatal error: wctype.h: No such file or directory
   18 | #include <wctype.h>
      |          ^~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/b35ccdf734a02f0866fba7d86d44a8b452601607

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gdbm/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/gdbm/Config.in b/package/gdbm/Config.in
index debe5660d7..7c8fcc4e5a 100644
--- a/package/gdbm/Config.in
+++ b/package/gdbm/Config.in
@@ -1,8 +1,13 @@
 config BR2_PACKAGE_GDBM
 	bool "gdbm"
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_USE_WCHAR
 	help
 	  GNU dbm is a set of database routines that use extensible
 	  hashing. It works similar to the standard UNIX dbm routines.
 
 	  https://www.gnu.org/software/gdbm/gdbm.html
+
+comment "gdbm needs a toolchain w/ wchar"
+	depends on BR2_USE_MMU
+	depends on !BR2_USE_WCHAR
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-10-03  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-30  5:55 [Buildroot] [PATCH 1/1] package/gdbm: needs wchar Fabrice Fontaine
2021-10-03  8:21 ` Yann E. MORIN

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