diff options
author | sem <sem@FreeBSD.org> | 2005-05-08 17:35:37 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-05-08 17:35:37 +0800 |
commit | c955fc35313f4015e9d610525fd27d5914461902 (patch) | |
tree | 58ca890a781bd86a1eb8533a76e6a7d8abd15375 /devel/mico | |
parent | 87d4193cf40525c2a734d9fcd1cab1dec30d7429 (diff) | |
download | freebsd-ports-gnome-c955fc35313f4015e9d610525fd27d5914461902.tar.gz freebsd-ports-gnome-c955fc35313f4015e9d610525fd27d5914461902.tar.zst freebsd-ports-gnome-c955fc35313f4015e9d610525fd27d5914461902.zip |
- Fix build on CURRENT (we have more math functions now)
Reported by: kris via pointyhat
Diffstat (limited to 'devel/mico')
-rw-r--r-- | devel/mico/files/patch-include::mico::os-math.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/mico/files/patch-include::mico::os-math.h b/devel/mico/files/patch-include::mico::os-math.h index c389721e3c5c..0314a1abaf65 100644 --- a/devel/mico/files/patch-include::mico::os-math.h +++ b/devel/mico/files/patch-include::mico::os-math.h @@ -1,6 +1,6 @@ --- 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 @@ ++++ include/mico/os-math.h Sun May 8 11:40:37 2005 +@@ -284,12 +284,26 @@ : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \ : __fpclassifyl(x)) #endif @@ -16,9 +16,12 @@ + +// configure wrong set HAVE_* +#define asinl asin ++#define fmodl fmod ++ ++#if __FreeBSD_version < 600026 +#define ldexpl ldexp +#define frexpl frexp -+#define fmodl fmod ++#endif + +#if __FreeBSD_version < 503105 +#define ceill ceil |