diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-10-08 16:22:37 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-10-08 16:29:24 +0300 |
commit | 6333495298bc8bf2faa3b2e390e5bb3c005db08f (patch) | |
tree | 0bd19e37f2ed70d75fae92b16a9f00fbc19cfaea | |
parent | 822c90f75dcb1b732d3a914748d2aa703eaa10ed (diff) | |
download | illumos-packaging-6333495298bc8bf2faa3b2e390e5bb3c005db08f.tar.gz |
libc: math.h to include feature.h
-rw-r--r-- | libc/debian/patches/math.h-feature.patch | 15 | ||||
-rw-r--r-- | libc/debian/patches/series | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/libc/debian/patches/math.h-feature.patch b/libc/debian/patches/math.h-feature.patch new file mode 100644 index 0000000..2a8ca83 --- /dev/null +++ b/libc/debian/patches/math.h-feature.patch @@ -0,0 +1,15 @@ +Description: make sure C99 features are enabled in GCC's C99 mode +Bug-Dyson: https://www.osdyson.org/issues/191 +Index: libc/usr/src/head/math.h +=================================================================== +--- libc.orig/usr/src/head/math.h ++++ libc/usr/src/head/math.h +@@ -29,6 +29,8 @@ + #ifndef _MATH_H + #define _MATH_H + ++#include <features.h> ++ + #include <iso/math_iso.h> + #include <iso/math_c99.h> + #include <ieeefp.h> diff --git a/libc/debian/patches/series b/libc/debian/patches/series index bd1c020..0a75e94 100644 --- a/libc/debian/patches/series +++ b/libc/debian/patches/series @@ -142,3 +142,4 @@ localedef-prog-only.patch illumos-6993.patch libc-add-cfsetspeed.patch libc-math-include-ieeefp.patch +math.h-feature.patch |