package/lynis: add wchar dependency
PATCH 1/1 package/lynis: add wchar dependency
Since the introduction of the package lynis in 48bce6ad8f autobuild failure for the gzip package started appearing on configuration without wchar support with the following error message:
vasnprintf.c:355:38: warning: implicit declaration of function 'wctomb' [-Wimplicit-function-declaration]
355 | # define local_wcrtomb(S, WC, PS) wctomb ((S), (WC))
| ^~~~~~This error happens when building gzip without BR2_USE_WCHAR dependency. The gzip package already depends on BR2_USE_WCHAR, this patch also apply this dependency to the lynis package.
Fixes:
https://autobuild.buildroot.org/results/fbf/fbf31c8c09496cd3fe02e8ed55939dad5c1cbaec
https://autobuild.buildroot.org/results/560/56083310acedba31dccc1f6594f814347bf21caf
https://autobuild.buildroot.org/results/1d9/1d97e3f0c626421fdae45e794f02c560d1b9080c
--- package/lynis/Config.in | 1 + 1 file changed, 1 insertion(+)
package/lynis/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_LYNIS bool "lynis" + depends on BR2_USE_WCHAR # gzip select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_GZIP # runtime (zgrep /proc/config.gz) help
Signature · 6 lines
2.39.5 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 12 lines · Thomas Perale via buildroot
Since the introduction of the package lynis in
48bce6ad8fautobuild failure for the gzip package started appearing on configuration without wchar support with the following error message:vasnprintf.c:355:38: warning: implicit declaration of function 'wctomb' [-Wimplicit-function-declaration]
355 | # define local_wcrtomb(S, WC, PS) wctomb ((S), (WC)) | ^~~~~~This error happens when building gzip without
BR2_USE_WCHARdependency. The gzip package already depends onBR2_USE_WCHAR, this patch also apply this dependency to the lynis package.
Quoted 6 lines
Fixes:
https://autobuild.buildroot.org/results/fbf/fbf31c8c09496cd3fe02e8ed55939dad5c1cbaec
https://autobuild.buildroot.org/results/560/56083310acedba31dccc1f6594f814347bf21caf
https://autobuild.buildroot.org/results/1d9/1d97e3f0c626421fdae45e794f02c560d1b9080cSigned-off-by Thomas Perale <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot