]> git.pld-linux.org Git - packages/emacs.git/blame - emacs-ncurses-tinfo.patch
- updated to 22.3
[packages/emacs.git] / emacs-ncurses-tinfo.patch
CommitLineData
228a8077 1--- emacs/configure.in.~1.351.2.41.~ 2007-01-30 23:22:40.000000000 +0100
2+++ emacs/configure.in 2007-02-04 18:21:21.000000000 +0100
3@@ -2615,7 +2615,7 @@
4 # That is because we have not set up to link ncurses in lib-src.
5 # It's better to believe a function is not available
6 # than to expect to find it in ncurses.
7-AC_CHECK_LIB(ncurses, tparm)
8+AC_CHECK_LIB(tinfo, tparm)
9
10 # Do we need the Hesiod library to provide the support routines?
11 if test "$with_hesiod" = yes ; then
12--- emacs/src/dispnew.c.~1.318.2.33.~ 2007-01-26 07:15:07.000000000 +0100
13+++ emacs/src/dispnew.c 2007-02-04 18:23:44.000000000 +0100
14@@ -102,7 +102,7 @@
15 #endif
16 #endif /* not __GNU_LIBRARY__ */
17
18-#if defined(HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
19+#if defined(HAVE_TERM_H) && defined (GNU_LINUX) && defined (HAVE_LIBTINFO)
20 #include <term.h> /* for tgetent */
21 #endif
22 \f
23@@ -6775,7 +6775,7 @@
24 #else
25 Vwindow_system_version = make_number (10);
26 #endif
27-#if defined (GNU_LINUX) && defined (HAVE_LIBNCURSES)
28+#if defined (GNU_LINUX) && defined (HAVE_LIBTINFO)
29 /* In some versions of ncurses,
30 tputs crashes if we have not called tgetent.
31 So call tgetent. */
32--- emacs/src/s/gnu-linux.h.~1.88.2.10.~ 2007-01-26 07:15:24.000000000 +0100
33+++ emacs/src/s/gnu-linux.h 2007-02-04 18:24:44.000000000 +0100
34@@ -279,9 +279,9 @@
35 /* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
36 #define LIB_MOTIF -lXm -lXpm
37
38-#ifdef HAVE_LIBNCURSES
39+#ifdef HAVE_LIBTINFO
40 #define TERMINFO
41-#define LIBS_TERMCAP -lncurses
42+#define LIBS_TERMCAP -ltinfo
43 #endif
44
45 #define HAVE_SYSVIPC
This page took 0.039499 seconds and 4 git commands to generate.