@@ -0,0 +1,20 @@
+--- configure
++++ configure
+@@ -949,7 +949,7 @@
+ #include <curses.h>
+ int main(void) { return curses_version(); }
+ EOF
+- if $cc $ARCH_CFLAGS -o $TMPE $TMPC -lcurses > /dev/null 2> /dev/null ; then
++ if $cc $ARCH_CFLAGS -o $TMPE $TMPC -lncurses > /dev/null 2> /dev/null ; then
+ curses=yes
+ fi
+ fi # test "$curses"
+@@ -1427,7 +1427,7 @@
+ if test "$curses" = "yes" ; then
+ echo "#define CONFIG_CURSES 1" >> $config_h
+ echo "CONFIG_CURSES=yes" >> $config_mak
+- echo "CURSES_LIBS=-lcurses" >> $config_mak
++ echo "CURSES_LIBS=-lncurses" >> $config_mak
+ fi
+ if test "$brlapi" = "yes" ; then
+ echo "CONFIG_BRLAPI=yes" >> $config_mak
|