aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs19
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-26 21:34:38 +0800
committerpeter <peter@FreeBSD.org>1997-05-26 21:34:38 +0800
commit578aa8dc7b51d05eb9550510de3758769f2f138e (patch)
treec102a397b887a69cf8ab744d7cbaf61d456305d8 /editors/emacs19
parent46dd2d2c834162ae8f44e2cff0c39b7cbcea5d80 (diff)
downloadfreebsd-ports-gnome-578aa8dc7b51d05eb9550510de3758769f2f138e.tar.gz
freebsd-ports-gnome-578aa8dc7b51d05eb9550510de3758769f2f138e.tar.zst
freebsd-ports-gnome-578aa8dc7b51d05eb9550510de3758769f2f138e.zip
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.
Diffstat (limited to 'editors/emacs19')
-rw-r--r--editors/emacs19/files/patch-ac24
1 files changed, 21 insertions, 3 deletions
diff --git a/editors/emacs19/files/patch-ac b/editors/emacs19/files/patch-ac
index 0b993b47ff4d..0c0a713b1c55 100644
--- a/editors/emacs19/files/patch-ac
+++ b/editors/emacs19/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