diff options
author | dinoex <dinoex@FreeBSD.org> | 2011-06-15 01:21:23 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2011-06-15 01:21:23 +0800 |
commit | b7f3db2deadaf71c87edb20ffa031ece12fdb0ab (patch) | |
tree | a6662893f8fba99828f930778ef12248dff6ef4f /graphics | |
parent | 3a4ab49eccc8c502bceefbc80eb2c0665eee4310 (diff) | |
download | freebsd-ports-gnome-b7f3db2deadaf71c87edb20ffa031ece12fdb0ab.tar.gz freebsd-ports-gnome-b7f3db2deadaf71c87edb20ffa031ece12fdb0ab.tar.zst freebsd-ports-gnome-b7f3db2deadaf71c87edb20ffa031ece12fdb0ab.zip |
- patch needed for 704101
PR: 157217
Reported by: Fedor Dikarev
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/graphviz/files/patch-lib-ortho-trapezoid.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sys/param.h> -+#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 + |