diff --git a/emacs-23.3-tinfo.dif b/emacs-23.3-tinfo.dif new file mode 100644 index 0000000..6fec8ed --- /dev/null +++ b/emacs-23.3-tinfo.dif @@ -0,0 +1,45 @@ +--- configure.in ++++ configure.in 2011-11-22 14:37:39.195146873 +0000 +@@ -2376,11 +2376,13 @@ AC_CHECK_FUNCS(getpt) + # That is because we have not set up to link ncurses in lib-src. + # It's better to believe a function is not available + # than to expect to find it in ncurses. +-AC_CHECK_LIB(ncurses, tparm) ++for lib in tinfo ncurses ; do ++ AC_CHECK_LIB($lib, tparm) ++done + + case "$opsys" in + netbsd) +- AC_SEARCH_LIBS(tputs, [ncurses terminfo termcap]) ++ AC_SEARCH_LIBS(tputs, [tinfo ncurses ncursesw terminfo termcap]) + if test $ac_cv_search_tputs = -lterminfo; then + AC_DEFINE(TERMINFO, 1, [Define to 1 if you use terminfo instead of termcap.]) + fi +--- src/config.in ++++ src/config.in 2011-11-22 14:34:49.199647061 +0000 +@@ -388,6 +388,9 @@ along with GNU Emacs. If not, see