summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-04 16:03:07 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-04 16:03:07 +0300
commit8c180b6929c62f1e3a324e1577df28d45adbc1e5 (patch)
tree1798572aef5a8d5387e8a17ae66459c49fdb2d24
parent37db4fd6f06057771c555bb6b19c573dbb72ee8f (diff)
downloadillumos-packaging-master.tar.gz
Update math.h-exclude-floatingpoint.h.patchHEADmaster
-rw-r--r--libc/debian/patches/math.h-exclude-floatingpoint.h.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libc/debian/patches/math.h-exclude-floatingpoint.h.patch b/libc/debian/patches/math.h-exclude-floatingpoint.h.patch
index 607683e..5211929 100644
--- a/libc/debian/patches/math.h-exclude-floatingpoint.h.patch
+++ b/libc/debian/patches/math.h-exclude-floatingpoint.h.patch
@@ -19,3 +19,27 @@ Index: libc/usr/src/head/math.h
#endif /* defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE) */
#endif /* defined(__EXTENSIONS__) || defined(_XOPEN_SOURCE) || ... */
+Index: libc/usr/src/lib/libm/common/m9x/__fex_hdlr.c
+===================================================================
+--- libc.orig/usr/src/lib/libm/common/m9x/__fex_hdlr.c
++++ libc/usr/src/lib/libm/common/m9x/__fex_hdlr.c
+@@ -36,6 +36,7 @@
+ #include <unistd.h>
+ #include <thread.h>
+ #include <math.h>
++#include <sys/ieeefp.h>
+ #if defined(__SUNPRO_C)
+ #include <sunmath.h>
+ #endif
+Index: libc/usr/src/lib/libm/common/m9x/__fex_i386.c
+===================================================================
+--- libc.orig/usr/src/lib/libm/common/m9x/__fex_i386.c
++++ libc/usr/src/lib/libm/common/m9x/__fex_i386.c
+@@ -36,6 +36,7 @@
+ #include <ucontext.h>
+ #include <thread.h>
+ #include <math.h>
++#include <sys/ieeefp.h>
+ #if defined(__SUNPRO_C)
+ #include <sunmath.h>
+ #endif