pkgsrc/misc/kdeedu4/patches/patch-aa
markd ebbc881030 Import KDE4.3.1 from wip
OKed during freeze by wiz and agc
2009-10-02 20:41:53 +00:00

16 lines
540 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2009/10/02 20:51:26 markd Exp $
--- kig/objects/circle_type.cc.orig 2007-12-10 00:02:17.000000000 +1300
+++ kig/objects/circle_type.cc
@@ -27,6 +27,11 @@
#include <klocale.h>
+#ifdef __NetBSD__
+#define fmin(a,b) ((a) < (b) ? (a) : (b))
+#define fmax(a,b) ((a) > (b) ? (a) : (b))
+#endif
+
static const char constructcirclethroughpointstat[] = I18N_NOOP( "Construct a circle through this point" );
static const char constructcirclewithcenterstat[] = I18N_NOOP( "Construct a circle with this center" );