You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
521 B
Diff
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
|