diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-11-21 23:48:13 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-11-21 23:48:13 +0300 |
commit | a34361a3cd5dcc2c852e9af76462f1b19bddc21c (patch) | |
tree | 13850f7dd546ff24887406b5ce484a3d55133b7f | |
parent | ad4de947b22ae2347a186daaa20254d5e53ac85c (diff) | |
download | illumos-packaging-a34361a3cd5dcc2c852e9af76462f1b19bddc21c.tar.gz |
Add debian/patches/libm-macro.patch
-rw-r--r-- | libc/debian/patches/libm-macro.patch | 18 | ||||
-rw-r--r-- | libc/debian/patches/series | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/libc/debian/patches/libm-macro.patch b/libc/debian/patches/libm-macro.patch new file mode 100644 index 0000000..06551cb --- /dev/null +++ b/libc/debian/patches/libm-macro.patch @@ -0,0 +1,18 @@ +Index: libc/usr/src/lib/libm/common/C/libm_protos.h +=================================================================== +--- libc.orig/usr/src/lib/libm/common/C/libm_protos.h ++++ libc/usr/src/lib/libm/common/C/libm_protos.h +@@ -40,11 +40,13 @@ + #define __rem_pio2m __libm__rem_pio2m + + #ifndef _ASM ++#ifndef __P + #ifdef __STDC__ + #define __P(p) p + #else + #define __P(p) () + #endif ++#endif + + #include <sys/ieeefp.h> + diff --git a/libc/debian/patches/series b/libc/debian/patches/series index b8bb1eb..208ba21 100644 --- a/libc/debian/patches/series +++ b/libc/debian/patches/series @@ -144,3 +144,4 @@ libc-add-cfsetspeed.patch libc-math-include-ieeefp.patch math.h-feature.patch nameser.h-types.patch +libm-macro.patch |