aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-05-04 14:35:21 +0800
committermarcus <marcus@FreeBSD.org>2003-05-04 14:35:21 +0800
commit45879f4069adbf3c3f88d491286e092e5ec905be (patch)
treee974892c8b100b628d9699c314234fce0815a78e
parent00b5c66aaf15861f7bd06441712e2e375bf094aa (diff)
downloadfreebsd-ports-gnome-45879f4069adbf3c3f88d491286e092e5ec905be.tar.gz
freebsd-ports-gnome-45879f4069adbf3c3f88d491286e092e5ec905be.tar.zst
freebsd-ports-gnome-45879f4069adbf3c3f88d491286e092e5ec905be.zip
Add support for FreeBSD Alpha and Sparc.
-rw-r--r--lang/guile/files/patch-libguile_gc_os_dep.c36
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
+