summaryrefslogtreecommitdiff
path: root/editors/emacs20-dl
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>2003-02-02 08:10:21 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>2003-02-02 08:10:21 +0000
commite8c4c27f018cc6f5de525155e2d8c034d5203ec3 (patch)
tree0439740ebafc352b0dccdfa2b51b66c41de8f1e6 /editors/emacs20-dl
parentWWW page changed. (diff)
Fix core-dump-problem on 5.0 or later.
PR: ports/46031 Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Diffstat (limited to 'editors/emacs20-dl')
-rw-r--r--editors/emacs20-dl/files/patch-cb10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/emacs20-dl/files/patch-cb b/editors/emacs20-dl/files/patch-cb
index 5a37edcb5321..1d555e53674b 100644
--- a/editors/emacs20-dl/files/patch-cb
+++ b/editors/emacs20-dl/files/patch-cb
@@ -1,5 +1,5 @@
---- src/s/freebsd.h.orig Tue May 2 21:29:10 2000
-+++ src/s/freebsd.h Sat Jul 1 20:17:45 2000
+--- src/s/freebsd.h.orig Mon Jan 13 03:08:43 2003
++++ src/s/freebsd.h Mon Jan 13 03:10:05 2003
@@ -41,8 +41,18 @@
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
@@ -20,11 +20,15 @@
#if __FreeBSD_version < 400000
#define LIBS_TERMCAP -ltermcap
#endif
-@@ -56,9 +66,16 @@
+@@ -56,9 +66,20 @@
#ifdef __ELF__
#define LD_SWITCH_SYSTEM
+
++#if __FreeBSD_version >= 500000
++#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc
++#endif
++
+#ifdef __alpha__
+#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crtbegin.o
+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o