diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2002-02-23 17:02:41 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2002-02-23 17:02:41 +0800 |
commit | e1574a96c33f7831401ffffb85baedd6f7f96ff1 (patch) | |
tree | dfcf8ef4e9e4e2bd5b4213969295b91e1b77c3c8 /editors | |
parent | aec1910ab1cb214085a6e9d6994fa95ec9ef81b1 (diff) | |
download | freebsd-ports-graphics-e1574a96c33f7831401ffffb85baedd6f7f96ff1.tar.gz freebsd-ports-graphics-e1574a96c33f7831401ffffb85baedd6f7f96ff1.tar.zst freebsd-ports-graphics-e1574a96c33f7831401ffffb85baedd6f7f96ff1.zip |
Link libncurses to avoid segfaults when emacs is executed with -nw option
and TERM=kterm-color.
Submitted by: Mori Kouji <mori@tri.asanuma.co.jp>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs21/Makefile | 2 | ||||
-rw-r--r-- | editors/emacs21/files/patch-src:s:freebsd.h | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile index d2224932a3c..6cbb0961c5c 100644 --- a/editors/emacs21/Makefile +++ b/editors/emacs21/Makefile @@ -7,7 +7,7 @@ PORTNAME= emacs PORTVERSION= 21.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors ipv6 MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/editors/emacs21/files/patch-src:s:freebsd.h b/editors/emacs21/files/patch-src:s:freebsd.h new file mode 100644 index 00000000000..2eb9ea8823e --- /dev/null +++ b/editors/emacs21/files/patch-src:s:freebsd.h @@ -0,0 +1,14 @@ +--- src/s/freebsd.h.orig Tue Feb 20 19:52:17 2001 ++++ src/s/freebsd.h Mon Feb 18 11:51:50 2002 +@@ -68,6 +68,11 @@ + #define LIBS_SYSTEM -lutil + #if __FreeBSD_version < 400000 + #define LIBS_TERMCAP -ltermcap ++#else ++#ifdef HAVE_LIBNCURSES ++#define TERMINFO ++#define LIBS_TERMCAP -lncurses ++#endif + #endif + + #define SYSV_SYSTEM_DIR |