From 8cfde5dd7df63cdd05418e145e71ee419bc6878d Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 14 Jun 2011 17:21:23 +0000 Subject: [PATCH] - patch needed for 704101 PR: 157217 Reported by: Fedor Dikarev --- graphics/graphviz/files/patch-lib-ortho-trapezoid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/graphviz/files/patch-lib-ortho-trapezoid.c b/graphics/graphviz/files/patch-lib-ortho-trapezoid.c index d3bf25b76bc0..6dbacbb808f3 100644 --- a/graphics/graphviz/files/patch-lib-ortho-trapezoid.c +++ b/graphics/graphviz/files/patch-lib-ortho-trapezoid.c @@ -5,7 +5,7 @@ #endif +#include -+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) ++#if __FreeBSD_version <= 704101 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) +#define log2(x) (log(x)/log(2)) +#endif +