diff options
author | minoura <minoura@pkgsrc.org> | 1999-12-28 14:07:43 +0000 |
---|---|---|
committer | minoura <minoura@pkgsrc.org> | 1999-12-28 14:07:43 +0000 |
commit | d4cb36531f998bcc791c44a2cc08339658f93373 (patch) | |
tree | 438b696fa11d75c97678e01aa4a819a4bc68f6cf /devel | |
parent | e133ff32498a6534b369bed52113580a2aa0ec47 (diff) | |
download | pkgsrc-d4cb36531f998bcc791c44a2cc08339658f93373.tar.gz |
Make this compile (again) on sparc/a.out.
Thanks to Toshihiro Kobayashi <koba@lsig.nel.co.jp>.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/boehm-gc/patches/patch-ac | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/devel/boehm-gc/patches/patch-ac b/devel/boehm-gc/patches/patch-ac index a785c36b929..fff2208e7c9 100644 --- a/devel/boehm-gc/patches/patch-ac +++ b/devel/boehm-gc/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.3 1999/11/04 15:21:58 minoura Exp $ +$NetBSD: patch-ac,v 1.4 1999/12/28 14:07:43 minoura Exp $ --- gcconfig.h.orig Wed Sep 15 13:56:31 1999 -+++ gcconfig.h Tue Oct 26 10:58:14 1999 ++++ gcconfig.h Mon Dec 27 23:38:55 1999 @@ -27,6 +27,11 @@ # define LINUX # endif @@ -86,7 +86,7 @@ $NetBSD: patch-ac,v 1.3 1999/11/04 15:21:58 minoura Exp $ # ifdef SUNOS5 # define OS_TYPE "SUNOS5" extern int _etext; -@@ -628,8 +646,16 @@ +@@ -628,8 +646,20 @@ # ifdef OPENBSD # define OS_TYPE "OPENBSD" # define STACKBOTTOM ((ptr_t) 0xf8000000) @@ -96,14 +96,18 @@ $NetBSD: patch-ac,v 1.3 1999/11/04 15:21:58 minoura Exp $ +# ifdef NETBSD +# define OS_TYPE "NETBSD" +# define HEURISTIC2 -+/* extern char etext; */ -+# define DATASTART GC_data_start -+# define DYNAMIC_LOADING ++# ifdef __ELF__ ++# define DATASTART GC_data_start ++# define DYNAMIC_LOADING ++# else ++ extern char etext; ++# define DATASTART ((ptr_t)(&etext)) ++# endif +# endif # endif # ifdef I386 -@@ -919,6 +945,16 @@ +@@ -919,6 +949,16 @@ # ifdef ALPHA # define MACH_TYPE "ALPHA" # define ALIGNMENT 8 |