]> git.pld-linux.org Git - packages/graphviz.git/blame - graphviz-bad-header.patch
use %go_arches macro
[packages/graphviz.git] / graphviz-bad-header.patch
CommitLineData
86870b30
JB
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 @@
2faa9e37
JR
4 #ifndef GV_GEOM_H
5 #define GV_GEOM_H
6
86870b30 7+#ifdef GRAPHVIZ_GEOM_WITH_MACROS
2faa9e37 8 #include "arith.h"
86870b30 9+#endif
2faa9e37 10
86870b30
JB
11 #ifdef __cplusplus
12 extern "C" {
13@@ -34,6 +36,7 @@
2faa9e37
JR
14
15 typedef struct { pointf LL, UR; } boxf;
16
86870b30 17+#ifdef GRAPHVIZ_GEOM_WITH_MACROS
d13e88b1 18
2faa9e37
JR
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))
c56110e3
JB
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.098127 seconds and 4 git commands to generate.