diff options
author | sem <sem@FreeBSD.org> | 2005-01-30 04:11:07 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-01-30 04:11:07 +0800 |
commit | 1d95094ece86bd25305257f3076b477e607a260f (patch) | |
tree | 0f29d9656076a823968a98ced4f1e721ea4a7a4d /devel | |
parent | 16fd6b0e573a85c30a90bfeacba34fbcaab87aa3 (diff) | |
download | freebsd-ports-gnome-1d95094ece86bd25305257f3076b477e607a260f.tar.gz freebsd-ports-gnome-1d95094ece86bd25305257f3076b477e607a260f.tar.zst freebsd-ports-gnome-1d95094ece86bd25305257f3076b477e607a260f.zip |
- Fix build on CURRENT
Reported by: kris via pointyhat
Diffstat (limited to 'devel')
-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> |