diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-01 00:50:02 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-01 00:50:02 +0000 |
commit | f6b5fd1ffd1fa3a1cf4e94b9828e8ec99ed2ea1b (patch) | |
tree | 2e45bcdcc0f16d1917e278146b7286648002d93b /lang/guile | |
parent | Make sure gnect's GConf schemas get installed. This lets gnect work (diff) |
Fix build on Sparc64.
Reported by: kris
Notes
Notes:
svn path=/head/; revision=81803
Diffstat (limited to 'lang/guile')
-rw-r--r-- | lang/guile/files/patch-libguile___scm.h | 12 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile_gc_os_dep.c | 15 |
2 files changed, 21 insertions, 6 deletions
diff --git a/lang/guile/files/patch-libguile___scm.h b/lang/guile/files/patch-libguile___scm.h new file mode 100644 index 000000000000..3a89ce3fcb97 --- /dev/null +++ b/lang/guile/files/patch-libguile___scm.h @@ -0,0 +1,12 @@ +--- libguile/__scm.h.orig Thu May 22 22:07:27 2003 ++++ libguile/__scm.h Thu May 22 21:03:18 2003 +@@ -354,7 +354,8 @@ + * that all the state of the process is contained in the stack. + */ + +-#if (defined (sparc) || defined (__sparc__) || defined (__sparc)) ++#if (defined (sparc) || defined (__sparc__) || defined (__sparc)) && \ ++ !defined(__FreeBSD__) + # define SCM_FLUSH_REGISTER_WINDOWS asm("ta 3") + #else + # define SCM_FLUSH_REGISTER_WINDOWS /* empty */ diff --git a/lang/guile/files/patch-libguile_gc_os_dep.c b/lang/guile/files/patch-libguile_gc_os_dep.c index 87e12197d0e8..e16c5d1e9fa5 100644 --- a/lang/guile/files/patch-libguile_gc_os_dep.c +++ b/lang/guile/files/patch-libguile_gc_os_dep.c @@ -1,18 +1,21 @@ ---- 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 @@ +--- libguile/gc_os_dep.c.orig Wed Apr 16 13:16:21 2003 ++++ libguile/gc_os_dep.c Thu May 22 20:41:37 2003 +@@ -93,6 +93,14 @@ # define OPENBSD # define mach_type_known # endif +# if defined(__FreeBSD__) && defined(__sparc__) -+# define SPARC +# define FREEBSD ++# include <machine/frame.h> ++# define ALIGNMENT 8 ++# define CPP_WORDSZ 64 ++# define ALIGN_DOUBLE +# define mach_type_known +# endif # if defined(__NetBSD__) && defined(__powerpc__) # define POWERPC # define NETBSD -@@ -225,7 +230,11 @@ +@@ -225,7 +233,11 @@ # define ARM32 # define mach_type_known # endif @@ -25,7 +28,7 @@ # define ALPHA # if !defined(LINUX) # define OSF1 /* a.k.a Digital Unix */ -@@ -1468,7 +1477,7 @@ +@@ -1468,7 +1480,7 @@ # include <setjmp.h> #endif |