diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-01-29 20:11:07 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-01-29 20:11:07 +0000 |
commit | 936ee6eb6a1abb5e7b7b5a0d56fb57e338898cb8 (patch) | |
tree | adb63eedf49f66363e2731a7ee4f5e46fe35f48c /devel/mico/files/patch-include::mico::os-math.h | |
parent | - Fix JPEG pkg-plist (diff) |
- Fix build on CURRENT
Reported by: kris via pointyhat
Notes
Notes:
svn path=/head/; revision=127649
Diffstat (limited to 'devel/mico/files/patch-include::mico::os-math.h')
-rw-r--r-- | devel/mico/files/patch-include::mico::os-math.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/devel/mico/files/patch-include::mico::os-math.h b/devel/mico/files/patch-include::mico::os-math.h index 4d36f7a4e764..70feaa4ef4cd 100644 --- a/devel/mico/files/patch-include::mico::os-math.h +++ b/devel/mico/files/patch-include::mico::os-math.h @@ -1,28 +1,28 @@ ---- include/mico/os-math.h.orig Tue Nov 16 22:31:18 2004 -+++ include/mico/os-math.h Tue Nov 16 21:07:40 2004 -@@ -291,6 +291,25 @@ - #define isnan(x) (fpclassify(x) == FP_NAN) +--- include/mico/os-math.h.orig Mon Oct 13 13:49:32 2003 ++++ include/mico/os-math.h Sat Jan 29 19:25:49 2005 +@@ -284,12 +284,23 @@ + : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \ + : __fpclassifyl(x)) + #endif +-#ifndef isinf ++#ifndef HAVE_ISINF + #define isinf(x) (fpclassify(x) == FP_INFINITE) #endif +-#ifndef isnan ++#ifndef HAVE_ISNAN + #define isnan(x) (fpclassify(x) == FP_NAN) #endif ++#endif + -+#ifndef asinl ++// configure wrong set HAVE_* +#define asinl asin -+#endif -+#ifndef ldexpl +#define ldexpl ldexp -+#endif -+#ifndef frexpl +#define frexpl frexp -+#endif -+#ifndef fmodl +#define fmodl fmod -+#endif -+#ifndef ceill ++ ++#if __FreeBSD_version < 600007 +#define ceill ceil -+#endif -+#ifndef floorl +#define floorl floor -+#endif + #endif #endif // __FreeBSD__ - #include <unistd.h> |