minicom/minicom-2.2-ncurses.patch
Miroslav Lichvar 0f0e704dc8 - update to 2.2
- handle filenames with spaces (#98655)
- add requires for lrzsz
- spec cleanup Resolves: #98655
2007-03-09 12:19:02 +00:00

23 lines
719 B
Diff

--- 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);