diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-05-04 06:35:21 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-05-04 06:35:21 +0000 |
commit | 4f3521374d56e72e20d1c49f5e0e41563a44f45a (patch) | |
tree | 6c7a818a35abfd7709ef4ba353cd172db6deb8a6 /lang/guile | |
parent | Added USE_PERL5_BUILD=yes (diff) |
Add support for FreeBSD Alpha and Sparc.
Notes
Notes:
svn path=/head/; revision=80099
Diffstat (limited to 'lang/guile')
-rw-r--r-- | lang/guile/files/patch-libguile_gc_os_dep.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/guile/files/patch-libguile_gc_os_dep.c b/lang/guile/files/patch-libguile_gc_os_dep.c new file mode 100644 index 000000000000..87e12197d0e8 --- /dev/null +++ b/lang/guile/files/patch-libguile_gc_os_dep.c @@ -0,0 +1,36 @@ +--- libguile/gc_os_dep.c.orig Sat May 3 23:15:57 2003 ++++ libguile/gc_os_dep.c Sat May 3 23:26:25 2003 +@@ -93,6 +93,11 @@ + # define OPENBSD + # define mach_type_known + # endif ++# if defined(__FreeBSD__) && defined(__sparc__) ++# define SPARC ++# define FREEBSD ++# define mach_type_known ++# endif + # if defined(__NetBSD__) && defined(__powerpc__) + # define POWERPC + # define NETBSD +@@ -225,7 +230,11 @@ + # define ARM32 + # define mach_type_known + # endif +-# if defined(__alpha) || defined(__alpha__) ++# if defined(__FreeBSD__) && defined(__alpha__) ++# define FREEBSD ++# define ALPHA ++# define mach_type_known ++# elif defined(__alpha) || defined(__alpha__) + # define ALPHA + # if !defined(LINUX) + # define OSF1 /* a.k.a Digital Unix */ +@@ -1468,7 +1477,7 @@ + # include <setjmp.h> + #endif + +-#ifdef FREEBSD ++#if defined(FREEBSD) && defined(I386) + # include <machine/trap.h> + #endif + |