File minicom-2.3-ncurses.patch of Package minicom
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -146,6 +146,7 @@ dnl Do not use <ncurses/termcap.h> unles
if test "x$termlib" = xncurses; then
dnl Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined.
AC_CHECK_HEADERS(ncurses/termcap.h, [found_termcap_h=1])
+ CFLAGS="$CFLAGS -I/usr/include/ncurses"
fi
if test "x$found_termcap_h" != "x1"; then
AC_CHECK_HEADERS(termcap.h)