aboutsummaryrefslogtreecommitdiffstats
path: root/lang/guile/files/patch-libguile_____scm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/guile/files/patch-libguile_____scm.h')
-rw-r--r--lang/guile/files/patch-libguile_____scm.h12
1 files changed, 12 insertions, 0 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..63d759844d70
--- /dev/null
+++ b/lang/guile/files/patch-libguile_____scm.h
@@ -0,0 +1,12 @@
+--- libguile/__scm.h.orig 2010-12-13 17:25:01 UTC
++++ libguile/__scm.h
+@@ -434,7 +434,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 */