diff options
author | shige <shige@FreeBSD.org> | 2003-02-02 08:10:21 +0000 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 2003-02-02 08:10:21 +0000 |
commit | 1570f24bad16419fb12308261c6a879b41f8aa5f (patch) | |
tree | 6c727ace4a74700b29421a27629c42e9f8f65bcd /editors/emacs20-mule-devel | |
parent | df3d591404ca14f91be5c28910b4db0acab5eee4 (diff) | |
download | FreeBSD-ports-1570f24bad16419fb12308261c6a879b41f8aa5f.zip FreeBSD-ports-1570f24bad16419fb12308261c6a879b41f8aa5f.tar.gz |
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-mule-devel')
-rw-r--r-- | editors/emacs20-mule-devel/files/patch-cb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/editors/emacs20-mule-devel/files/patch-cb b/editors/emacs20-mule-devel/files/patch-cb index a31533e..1d555e5 100644 --- a/editors/emacs20-mule-devel/files/patch-cb +++ b/editors/emacs20-mule-devel/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 @@ -37,4 +41,4 @@ +#define UNEXEC unexelf.o #undef LIB_GCC #define LIB_GCC - + |