diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-03-07 17:42:21 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-03-07 17:42:21 +0000 |
commit | e0972dd3d0dabbc28aba83a42276dddb4c6af4fd (patch) | |
tree | 5d11dc1dbd18edffb66c79570a16bc102c8223b8 /graphics/gegl | |
parent | b9b6a858f80e1776a6cfb00b84a1bc30d826bea8 (diff) | |
download | ports-e0972dd3d0dabbc28aba83a42276dddb4c6af4fd.tar.gz ports-e0972dd3d0dabbc28aba83a42276dddb4c6af4fd.zip |
Notes
Diffstat (limited to 'graphics/gegl')
-rw-r--r-- | graphics/gegl/files/patch-tools_exp_combine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gegl/files/patch-tools_exp_combine.cpp b/graphics/gegl/files/patch-tools_exp_combine.cpp index 8a07c3baf857..f18cf835bf94 100644 --- a/graphics/gegl/files/patch-tools_exp_combine.cpp +++ b/graphics/gegl/files/patch-tools_exp_combine.cpp @@ -5,7 +5,7 @@ #include <cmath> +#include <sys/param.h> -+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version <= 802501) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) ++#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version <= 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) +#define log2f(x) (logf(x) / logf(2)) +#endif + |