Author: qboosh Date: Wed Oct 25 19:24:12 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix build with libtinfo and ncurses headers in /usr/include/ncurses
---- Files affected: SOURCES: minicom-tinfo.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/minicom-tinfo.patch diff -u /dev/null SOURCES/minicom-tinfo.patch:1.1 --- /dev/null Wed Oct 25 21:24:12 2006 +++ SOURCES/minicom-tinfo.patch Wed Oct 25 21:24:07 2006 @@ -0,0 +1,22 @@ +--- minicom-2.2/configure.in.orig 2006-10-25 20:16:10.658603000 +0200 ++++ minicom-2.2/configure.in 2006-10-25 20:22:45.891303500 +0200 +@@ -157,7 +157,7 @@ + + dnl Checks for header files. + dnl Do not use <ncurses/termcap.h> unless we're linking with ncurses. +-if test "x$termlib" = xncurses; then ++if test "x$termlib" = xncurses -o "x$termlib" = xtinfo; then + dnl Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined. + AC_CHECK_HEADERS(ncurses/termcap.h) + fi +--- minicom-2.2/src/port.h.orig 2005-10-31 11:31:38.000000000 +0100 ++++ minicom-2.2/src/port.h 2006-10-25 20:22:26.590097250 +0200 +@@ -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); ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
