summaryrefslogtreecommitdiff
path: root/graphics/inkscape/patches/patch-aj
blob: c3cdd1d81902dc4b7e53c3a1c1b64b4627c84039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aj,v 1.3 2015/02/03 13:55:12 adam Exp $

--- src/live_effects/lpe-dynastroke.cpp.orig	2014-11-30 18:45:32.000000000 +0000
+++ src/live_effects/lpe-dynastroke.cpp
@@ -24,6 +24,10 @@
 #include <2geom/sbasis-math.h>
 #include <2geom/piecewise.h>
 
+/* xxx should test if this is needed  */
+#define fmin(a,b) ((a)<(b)?(a):(b))
+#define fmax(a,b) ((a)>(b)?(a):(b))
+
 namespace Inkscape {
 namespace LivePathEffect {
 //TODO: growfor/fadefor can be expressed in unit of width.