1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Japanese/emacs20-emcws dump core when using x11. From current

list, a linker option "-znocombreloc" can solve this problem.

PR:		ports/44926
Submitted by:	NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
This commit is contained in:
Edwin Groothuis 2002-11-07 13:07:29 +00:00
parent 241cef977f
commit 4a9e91a892
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69660

View File

@ -1,8 +1,8 @@
--- src/s/freebsd.h.orig Tue Apr 13 03:22:12 1999
+++ src/s/freebsd.h Sat Jul 24 01:30:10 1999
@@ -45,6 +45,13 @@
#define LIBS_SYSTEM -lutil
--- src/s/freebsd.h.orig Tue May 2 21:29:10 2000
+++ src/s/freebsd.h Mon Nov 4 11:29:52 2002
@@ -47,6 +47,13 @@
#define LIBS_TERMCAP -ltermcap
#endif
+/* Use XPG4 Library for FreeBSD */
+#if __FreeBSD_version >= 220000
@ -14,7 +14,7 @@
#define SYSV_SYSTEM_DIR
/* freebsd has POSIX-style pgrp behavior. */
@@ -54,9 +61,16 @@
@@ -56,9 +63,16 @@
#ifdef __ELF__
#define LD_SWITCH_SYSTEM
@ -32,3 +32,11 @@
#undef LIB_GCC
#define LIB_GCC
@@ -150,3 +164,7 @@
be seen again in a later read(2), without the CRs. */
#define BROKEN_PTY_READ_AFTER_EAGAIN 1
+
+#if __FreeBSD_version >= 500000
+#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc
+#endif