]> git.pld-linux.org Git - packages/graphviz.git/blob - graphviz-bad-header.patch
noarch doc-html/doc-pdf/graphs
[packages/graphviz.git] / graphviz-bad-header.patch
1 --- graphviz-2.40.1-root-comp/usr/include/graphviz/geom.h.orig  2017-06-01 20:57:43.249931759 +0200
2 +++ graphviz-2.40.1-root-comp/usr/include/graphviz/geom.h       2017-06-01 20:57:49.146598357 +0200
3 @@ -17,7 +17,9 @@
4  #ifndef GV_GEOM_H
5  #define GV_GEOM_H
6  
7 +#ifdef GRAPHVIZ_GEOM_WITH_MACROS
8  #include "arith.h"
9 +#endif
10  
11  #ifdef __cplusplus
12  extern "C" {
13 @@ -34,6 +36,7 @@
14  
15  typedef struct { pointf LL, UR; } boxf;
16  
17 +#ifdef GRAPHVIZ_GEOM_WITH_MACROS
18  
19  /* true if point p is inside box b */
20  #define INSIDE(p,b)    (BETWEEN((b).LL.x,(p).x,(b).UR.x) && BETWEEN((b).LL.y,(p).y,(b).UR.y))
21 @@ -81,6 +84,8 @@
22  #define MILLIPOINT .001
23  #define MICROPOINT .000001
24  
25 +#endif
26 +
27  #ifdef __cplusplus
28  }
29  #endif
This page took 0.026853 seconds and 3 git commands to generate.