kumquat-buildroot/support
Robert Marko f5a347c1dc kconfig/lxdialog: fix check() with GCC14
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>
(cherry picked from commit a6210d28db)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-15 15:18:09 +02:00
..
config-fragments toolchain: drop codesourcery arm/aarch64 toolchains 2024-03-21 21:43:14 +01:00
dependencies support/dependencies/dependencies.sh: libopenssl needs perl bigint on s390x 2024-03-03 13:13:40 +01:00
docker support/docker: add qemu-system-misc for riscv runtime tests 2023-08-24 23:20:26 +02:00
download support/download/check-hash: fix shellcheck errors 2024-04-28 21:45:59 +02:00
gnuconfig
kconfig kconfig/lxdialog: fix check() with GCC14 2024-05-15 15:18:09 +02:00
legal-info
libtool
misc Update for 2024.02.2 2024-05-07 09:30:06 +02:00
scripts support/scripts/pkg-stats: fix/improve git hash sorting 2024-05-02 18:30:18 +02:00
testing support/testing: remove TestATFVexpress 2024-05-06 23:01:24 +02:00