Hello,
Debian Bug Tracking System, on Fri 26 Feb 2016 09:51:22 +0000, wrote:
> * Fix kFreeBSD compilation. Closes: #788102
Ok, but this still lacks the general case, and thus it fails on
hurd-i386. Here is a fix.
Samuel
Index: ilmbase-2.2.0/IexMath/IexMathFpu.cpp
===================================================================
--- ilmbase-2.2.0.orig/IexMath/IexMathFpu.cpp
+++ ilmbase-2.2.0/IexMath/IexMathFpu.cpp
@@ -52,7 +52,7 @@
#define debug(x)
#endif
-#if defined(HAVE_UCONTEXT_H) && (defined(__x86_64__) || defined(_M_X64) ||
defined(__i386__) || defined(_M_IX86))
+#if defined(HAVE_UCONTEXT_H) && (defined(__x86_64__) || defined(_M_X64) ||
defined(__i386__) || defined(_M_IX86)) &&
(defined(ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT) || defined(__FreeBSD_kernel__)
|| defined(HAVE_ASM_SIGCONTEXT_H))
#include <ucontext.h>
#include <signal.h>