FreeBSD Bugzilla – Attachment 115458 Details for
Bug 157217
[PATCH] unbreak graphics/graphviz on -RELEASE (missing log2())
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 796 bytes, created by
Christoph Moench-Tegeder
on 2011-05-20 18:40:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Christoph Moench-Tegeder
Created:
2011-05-20 18:40:11 UTC
Size:
796 bytes
patch
obsolete
>diff -Nru graphics/graphviz.orig/files/patch-lib-ortho-trapezoid.c graphics/graphviz/files/patch-lib-ortho-trapezoid.c >--- graphics/graphviz.orig/files/patch-lib-ortho-trapezoid.c 1970-01-01 01:00:00.000000000 +0100 >+++ graphics/graphviz/files/patch-lib-ortho-trapezoid.c 2011-05-20 18:59:05.000000000 +0200 >@@ -0,0 +1,14 @@ >+--- lib/ortho/trapezoid.c.orig 2011-05-20 18:55:22.000000000 +0200 >++++ lib/ortho/trapezoid.c 2011-05-20 18:57:31.000000000 +0200 >+@@ -30,6 +30,11 @@ >+ #define log2(x) (log(x)/log(2)) >+ #endif >+ >++#include <sys/param.h> >++#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) >++#define log2(x) (log(x)/log(2)) >++#endif >++ >+ /* Node types */ >+ >+ #define T_X 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157217
: 115458