summaryrefslogtreecommitdiff
path: root/lang/mit-scheme/files/patch-microcode_uxtrap.h
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-01-12 16:58:37 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-01-12 16:58:37 +0000
commit1735ec5320e833927d288b456b5406caa9cb944f (patch)
tree956be662afba1dcc3f9484f47b09b17b6a9b69dc /lang/mit-scheme/files/patch-microcode_uxtrap.h
parentautomx makes setting up a mail account easy. All your users need to provide (diff)
Upgrade to version 9.1.1, with amd64 support.
The configure script is not able to detect some functions from fenv.h, possibly because it does not use "#pragma STDC FENV_ACCESS ON", which is used in the actual code. If you know of a way to make configure work without hacking config.h.in, suggestions are welcome.
Diffstat (limited to 'lang/mit-scheme/files/patch-microcode_uxtrap.h')
-rw-r--r--lang/mit-scheme/files/patch-microcode_uxtrap.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/mit-scheme/files/patch-microcode_uxtrap.h b/lang/mit-scheme/files/patch-microcode_uxtrap.h
new file mode 100644
index 000000000000..39e863ec3cfe
--- /dev/null
+++ b/lang/mit-scheme/files/patch-microcode_uxtrap.h
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- microcode/uxtrap.h.orig
++++ microcode/uxtrap.h
+@@ -413,6 +413,14 @@
+
+ #endif /* __IA32__ */
+
++#ifdef __x86_64__
++
++#if defined(__FreeBSD__)
++# include <ucontext.h>
++#endif
++
++#endif /* __x86_64__ */
++
+ #ifdef __alpha
+
+ #define HAVE_SIGCONTEXT