summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-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