summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-22 11:38:59 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-22 11:38:59 +0300
commit3866d0e9bed121021066fed1fdf9dfb4888a4967 (patch)
treee9bd65cf9ac2ec71e3775332fcdd5af5d2992683
parent4b7dc6d3bce1e2a022e7cffd4b5d60b04fbdd9e1 (diff)
downloadillumos-packaging-3866d0e9bed121021066fed1fdf9dfb4888a4967.tar.gz
math.h includes ieeefp.h (add libc-math-include-ieeefp.patch)
-rw-r--r--libc/debian/changelog1
-rw-r--r--libc/debian/patches/libc-math-include-ieeefp.patch12
-rw-r--r--libc/debian/patches/series1
3 files changed, 14 insertions, 0 deletions
diff --git a/libc/debian/changelog b/libc/debian/changelog
index 55eba99..fc5f5c3 100644
--- a/libc/debian/changelog
+++ b/libc/debian/changelog
@@ -1,6 +1,7 @@
libc (5.10.18.git.2a44663-3) UNRELEASED; urgency=medium
* fix qsort_r() declaration for c++ (updated libc-add-qsort_r.patch)
+ * math.h includes ieeefp.h (added libc-math-include-ieeefp.patch)
-- Igor Pashev <pashev.igor@gmail.com> Sun, 18 Jun 2017 21:23:18 +0300
diff --git a/libc/debian/patches/libc-math-include-ieeefp.patch b/libc/debian/patches/libc-math-include-ieeefp.patch
new file mode 100644
index 0000000..277e414
--- /dev/null
+++ b/libc/debian/patches/libc-math-include-ieeefp.patch
@@ -0,0 +1,12 @@
+Index: libc/usr/src/head/math.h
+===================================================================
+--- libc.orig/usr/src/head/math.h
++++ libc/usr/src/head/math.h
+@@ -31,6 +31,7 @@
+
+ #include <iso/math_iso.h>
+ #include <iso/math_c99.h>
++#include <ieeefp.h>
+
+ #if __cplusplus >= 199711L
+ using std::abs;
diff --git a/libc/debian/patches/series b/libc/debian/patches/series
index 0067aac..bd1c020 100644
--- a/libc/debian/patches/series
+++ b/libc/debian/patches/series
@@ -141,3 +141,4 @@ librpcsvc-uts-rpcsvc.patch
localedef-prog-only.patch
illumos-6993.patch
libc-add-cfsetspeed.patch
+libc-math-include-ieeefp.patch