1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/lang/mit-scheme/files/patch-microcode_uxtrap.h
Jimmy Olgeni 1735ec5320 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.
2013-01-12 16:58:37 +00:00

21 lines
266 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$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