aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-05-23 05:34:29 +0800
committermarcus <marcus@FreeBSD.org>2003-05-23 05:34:29 +0800
commit3b3e218291901835d427898bd5f86ac1b0cffae2 (patch)
tree8318bbb0688fbabef8689e3276058e0e71f1b5c9 /lang
parent989f40e165e4dd25eda1628c6210d13f62ebceba (diff)
downloadfreebsd-ports-gnome-3b3e218291901835d427898bd5f86ac1b0cffae2.tar.gz
freebsd-ports-gnome-3b3e218291901835d427898bd5f86ac1b0cffae2.tar.zst
freebsd-ports-gnome-3b3e218291901835d427898bd5f86ac1b0cffae2.zip
Fix build on Sparc.
Reported by: bento
Diffstat (limited to 'lang')
-rw-r--r--lang/guile/files/patch-libguile_gc_os_dep.c12
1 files changed, 12 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
index ad8d8442b3a5..87e12197d0e8 100644
--- a/lang/guile/files/patch-libguile_gc_os_dep.c
+++ b/lang/guile/files/patch-libguile_gc_os_dep.c
@@ -1,5 +1,17 @@
--- 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