diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gegl/files/patch-tools_exp_combine.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/gegl/files/patch-tools_exp_combine.cpp b/graphics/gegl/files/patch-tools_exp_combine.cpp new file mode 100644 index 000000000000..fef99b033d06 --- /dev/null +++ b/graphics/gegl/files/patch-tools_exp_combine.cpp @@ -0,0 +1,14 @@ +--- tools/exp_combine.cpp.orig 2011-03-02 09:30:13.000000000 +0100 ++++ tools/exp_combine.cpp 2011-03-02 09:27:16.000000000 +0100 +@@ -6,6 +6,11 @@ + #include <cerrno> + #include <cmath> + ++#include <sys/param.h> ++#if __FreeBSD_version < 704000 || (__FreeBSD_version > 800000 && __FreeBSD_version < 802000) || (__FreeBSD_version > 900000 && __FreeBSD_version < 900027) ++#define log2f(x) (logf(x) / logf(2)) ++#endif ++ + #include <iostream> + + #include <exiv2/image.hpp> |