aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs20
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2003-02-02 16:10:21 +0800
committershige <shige@FreeBSD.org>2003-02-02 16:10:21 +0800
commit1570f24bad16419fb12308261c6a879b41f8aa5f (patch)
tree6c727ace4a74700b29421a27629c42e9f8f65bcd /editors/emacs20
parentdf3d591404ca14f91be5c28910b4db0acab5eee4 (diff)
downloadfreebsd-ports-gnome-1570f24bad16419fb12308261c6a879b41f8aa5f.tar.gz
freebsd-ports-gnome-1570f24bad16419fb12308261c6a879b41f8aa5f.tar.zst
freebsd-ports-gnome-1570f24bad16419fb12308261c6a879b41f8aa5f.zip
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')
-rw-r--r--editors/emacs20/files/patch-cb8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/emacs20/files/patch-cb b/editors/emacs20/files/patch-cb
index 1055af6e5583..e0f8e199020e 100644
--- a/editors/emacs20/files/patch-cb
+++ b/editors/emacs20/files/patch-cb
@@ -1,10 +1,14 @@
--- src/s/freebsd.h.orig Tue May 2 21:29:10 2000
-+++ src/s/freebsd.h Sun Sep 23 05:30:49 2001
-@@ -56,9 +56,16 @@
++++ src/s/freebsd.h Sun Jan 12 01:06:02 2003
+@@ -56,9 +56,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