1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/mule-common/files/patch-na
Satoshi Taoka 3538d72b27 On 3.X-R, mule has a problem "Segmentation fault". Then I fixed it.
PR:		16336
Submitted by:	Munehiro Matsuda <haro@tk.kubota.co.jp>
2000-01-25 15:00:53 +00:00

20 lines
407 B
Plaintext

--- src/s/freebsd.h.~1~ Tue Jan 25 16:40:44 2000
+++ src/s/freebsd.h Tue Jan 25 16:45:23 2000
@@ -43,7 +43,16 @@
#define LIBS_DEBUG
#define LIBS_SYSTEM -lutil -lcrypt -lxpg4
+#if __FreeBSD_version < 400000
#define LIBS_TERMCAP -ltermcap
+#else
+#ifdef HAVE_LIBNCURSES
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses
+#else
+#define LIBS_TERMCAP -ltermcap
+#endif
+#endif
#define SYSV_SYSTEM_DIR