aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2002-02-23 17:02:41 +0800
committernobutaka <nobutaka@FreeBSD.org>2002-02-23 17:02:41 +0800
commite1574a96c33f7831401ffffb85baedd6f7f96ff1 (patch)
treedfcf8ef4e9e4e2bd5b4213969295b91e1b77c3c8 /editors
parentaec1910ab1cb214085a6e9d6994fa95ec9ef81b1 (diff)
downloadfreebsd-ports-gnome-e1574a96c33f7831401ffffb85baedd6f7f96ff1.tar.gz
freebsd-ports-gnome-e1574a96c33f7831401ffffb85baedd6f7f96ff1.tar.zst
freebsd-ports-gnome-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/Makefile2
-rw-r--r--editors/emacs21/files/patch-src:s:freebsd.h14
2 files changed, 15 insertions, 1 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile
index d2224932a3c9..6cbb0961c5c4 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 000000000000..2eb9ea8823ee
--- /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