summaryrefslogtreecommitdiff
path: root/editors/emacs22/files
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-05-26 13:34:38 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-05-26 13:34:38 +0000
commit72383a38257e8eccd67237317c88f3edaa31e464 (patch)
treee8cdc55fba06c67196d86aee891601f7a895fd7c /editors/emacs22/files
parentMark port as broken for -current. (diff)
If compiling under native ncurses (instead of libcurses), we have to
use the terminfo version of tparam() since the termcap version supplies tgoto() which seriously screws up text display. ncurses-4.1 has both a termcap and terminfo internal interface and is quicker with the terminfo one even when it's read a termcap.db file.
Notes
Notes: svn path=/head/; revision=6571
Diffstat (limited to 'editors/emacs22/files')
-rw-r--r--editors/emacs22/files/patch-ac24
1 files changed, 21 insertions, 3 deletions
diff --git a/editors/emacs22/files/patch-ac b/editors/emacs22/files/patch-ac
index 0b993b47ff4d..0c0a713b1c55 100644
--- a/editors/emacs22/files/patch-ac
+++ b/editors/emacs22/files/patch-ac
@@ -1,6 +1,24 @@
---- ./src/s/freebsd.h.org Sun Jun 9 13:14:32 1996
-+++ ./src/s/freebsd.h Thu Apr 3 04:15:46 1997
-@@ -80,6 +80,8 @@
+--- src/s/freebsd.h.orig Mon Jun 10 04:14:32 1996
++++ src/s/freebsd.h Mon May 26 21:21:55 1997
+@@ -33,9 +33,16 @@
+
+ #define LIBS_DEBUG
+ #define LIBS_SYSTEM -lutil
+-#define LIBS_TERMCAP -ltermcap
+ #define LIB_GCC -lgcc
+
++#ifdef HAVE_LIBNCURSES
++#define TERMINFO
++#define LIBS_TERMCAP -lncurses
++#else
++#define LIBS_TERMCAP -ltermcap
++#endif
++
++
+ #define SYSV_SYSTEM_DIR
+
+ /* freebsd has POSIX-style pgrp behavior. */
+@@ -80,6 +87,8 @@
#define BSD 199103
#elif __FreeBSD__ == 2
#define BSD 199306