mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1735ec5320
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.
21 lines
266 B
C
21 lines
266 B
C
|
||
$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
|