mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
package/procps-ng: add wchar dependency
Since procps-ng was bumped from 3.3.17 to 4.0.4 in commitd79f40dbbe("package/procps-ng: security bump to version 4.0.4"), the build has been failing on !wchar configurations with: src/ps/output.c:68:10: fatal error: wctype.h: No such file or directory 68 | #include <wctype.h> | ^~~~~~~~~~ compilation terminated. The problematic code has been added by upstream commit605ea4a8f7, which landed in upstream release v4.0.0. To solve this, we simply add a BR2_USE_WCHAR dependency, and update the comment related to this dependency on the only reverse dependency of procps-ng. Fixes: http://autobuild.buildroot.net/results/afc035e866bec6f2c14f9d52fa74a9c1897706de/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
7824d5c4c8
commit
f6fe892141
@@ -5,7 +5,7 @@ config BR2_PACKAGE_IGT_GPU_TOOLS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
depends on BR2_USE_WCHAR # elfutils
|
||||
depends on BR2_USE_WCHAR # elfutils, procps-ng
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 # linux/dma-buf.h
|
||||
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps-ng
|
||||
select BR2_PACKAGE_CAIRO
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
comment "procps-ng needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_PROCPS_NG
|
||||
bool "procps-ng"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Standard informational utilities and process-handling tools.
|
||||
|
||||
Reference in New Issue
Block a user