Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 3fefaeaa10d6010a7097b56d4093c984 > files > 4

minicom-2.2-1mdv2008.0.src.rpm

--- minicom-2.2/configure.ncurses	2006-10-16 09:54:20.000000000 +0200
+++ minicom-2.2/configure	2007-03-08 19:01:21.000000000 +0100
@@ -6067,7 +6067,7 @@
 
 LIBS="$LIBS $TERMLIBS"
 
-if test "x$termlib" = xncurses; then
+if test "x$termlib" = xncurses || test "x$termlib" = xtinfo; then
 
 for ac_header in ncurses/termcap.h
 do
--- minicom-2.2/src/port.h.ncurses	2005-10-31 11:31:38.000000000 +0100
+++ minicom-2.2/src/port.h	2007-03-08 18:59:52.000000000 +0100
@@ -29,6 +29,8 @@
 #endif
 #ifdef HAVE_TERMCAP_H
 #  include <termcap.h>
+#elif defined (HAVE_NCURSES_TERMCAP_H)
+#  include <ncurses/termcap.h>
 #else
   char *tgetstr(void), *tgoto(void);
   int tgetent(void), tputs(void), tgetnum(void), tgetflag(void);