1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/japanese/emacs21-emcws/files/patch-src:s:freebsd.h
Ying-Chieh Liao 262d696d96 fix core dump on current
PR:		45336
Submitted by:	maintainer
2002-11-20 11:03:38 +00:00

23 lines
509 B
C

--- src/s/freebsd.h.orig Tue Feb 20 19:52:17 2001
+++ src/s/freebsd.h Sat Nov 16 21:46:03 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
@@ -220,3 +225,7 @@
of sigblock says it is obsolete. */
#define POSIX_SIGNALS 1
+
+#if __FreeBSD_version >= 500000
+#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc
+#endif