View | Details | Raw Unified | Return to bug 157217
Collapse All | Expand All

(-)graphics/graphviz/files/patch-lib-ortho-trapezoid.c (+14 lines)
Line 0 Link Here
1
--- lib/ortho/trapezoid.c.orig	2011-05-20 18:55:22.000000000 +0200
2
+++ lib/ortho/trapezoid.c	2011-05-20 18:57:31.000000000 +0200
3
@@ -30,6 +30,11 @@
4
 #define log2(x)  (log(x)/log(2))
5
 #endif
6
 
7
+#include <sys/param.h>
8
+#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027)
9
+#define log2(x)  (log(x)/log(2))
10
+#endif
11
+
12
 /* Node types */
13
 
14
 #define T_X     1

Return to bug 157217