Files
boot/patches/001_seabios_menuconfig.patch
T
2024-07-12 20:23:35 +01:00

14 lines
521 B
Diff

Index: boot/seabios/scripts/kconfig/lxdialog/check-lxdialog.sh
===================================================================
--- boot.orig/seabios/scripts/kconfig/lxdialog/check-lxdialog.sh
+++ boot/seabios/scripts/kconfig/lxdialog/check-lxdialog.sh
@@ -43,7 +43,7 @@ trap "rm -f $tmp" 0 1 2 3 15
check() {
$cc -x c - -o $tmp 2>/dev/null <<'EOF'
#include CURSES_LOC
-main() {}
+int main() { return 0; }
EOF
if [ $? != 0 ]; then
echo " *** Unable to find the ncurses libraries or the" 1>&2