a6210d28db
GCC14 now treats implicit int types as error so when check() from check-lxdialog.sh is called to check whether we can link against ncurses it will fail silently and the help text indicating to install ncurses is printed. However, this is not due to missing ncurses but once the stderr redirect to /dev/null is removed we can see the root cause: <stdin>:2:1: error: return type defaults to ‘int’ [-Wimplicit-int] So, in order for menuconfig to work with GCC14 lets just specify the return type of main() as int. Npte that the upstream kconfig in the linux kernel source tree no longer carries or uses the check-lxdialog.sh script since commit 1c5af5cf9308 (kconfig: refactor ncurses package checks for building mconf and nconf), so there is no commit we can backport to our kconfig copy. Signed-off-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Tested-by: Petr Vorel <petr.vorel@gmail.com> [yann.morin.1998@free.fr: add note about upstream kernel] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> |
||
---|---|---|
.. | ||
01-kconfig-kernel-to-buildroot.patch | ||
06-br-build-system-integration.patch | ||
10-br-build-system.patch | ||
11-use-mktemp-for-lxdialog.patch | ||
12-fix-glade-file-path.patch | ||
14-support-out-of-tree-config.patch | ||
16-fix-space-to-de-select-options.patch | ||
17-backport-kecho.patch | ||
18-merge-config.sh-create-temporary-files-in-tmp.patch | ||
19-merge_config.sh-add-br2-external-support.patch | ||
20-merge_config.sh-Allow-to-define-config-prefix.patch | ||
21-Avoid-false-positive-matches-from-comment-lines.patch | ||
22-kconfig-lxdialog-fix-check-with-GCC14.patch | ||
series |