summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-01-25 15:00:53 +0000
committertaoka <taoka@FreeBSD.org>2000-01-25 15:00:53 +0000
commitfbbf2106dc707085e6611440e14b5fa8986bfc06 (patch)
tree1c679eabe058cecdd11f21d9f0e40f7af687513d /editors
parentf365e50a3e0b923457b8ae9ca03846f492c4d97f (diff)
downloadFreeBSD-ports-fbbf2106dc707085e6611440e14b5fa8986bfc06.zip
FreeBSD-ports-fbbf2106dc707085e6611440e14b5fa8986bfc06.tar.gz
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>
Diffstat (limited to 'editors')
-rw-r--r--editors/mule-common/files/patch-na15
1 files changed, 10 insertions, 5 deletions
diff --git a/editors/mule-common/files/patch-na b/editors/mule-common/files/patch-na
index 91dfca0..68edbae 100644
--- a/editors/mule-common/files/patch-na
+++ b/editors/mule-common/files/patch-na
@@ -1,14 +1,19 @@
---- src/s/freebsd.h.orig Sun Oct 31 15:51:09 1999
-+++ src/s/freebsd.h Sun Oct 31 15:52:57 1999
-@@ -43,7 +43,11 @@
+--- 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
--#define LIBS_TERMCAP -ltermcap
-+
++#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
+
OpenPOWER on IntegriCloud