aboutsummaryrefslogtreecommitdiff
path: root/graphics/gegl
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2011-03-02 12:42:51 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2011-03-02 12:42:51 +0000
commit3f8f9224d9cea53a6ab6b0db4430572e2f03f820 (patch)
tree60238f14c157206c2f6a45211b4eebe9042f73e5 /graphics/gegl
parent01fe92b4624f15728b71e9cd758e746471ebb8ea (diff)
downloadports-3f8f9224d9cea53a6ab6b0db4430572e2f03f820.tar.gz
ports-3f8f9224d9cea53a6ab6b0db4430572e2f03f820.zip
Notes
Diffstat (limited to 'graphics/gegl')
-rw-r--r--graphics/gegl/files/patch-tools_exp_combine.cpp14
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>