pkgsrc-wip/koffice/patches/patch-ab

16 lines
316 B
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.1 2009/10/04 18:53:12 mwdavies Exp $
--- kspread/ValueCalc.cpp.orig 2009-10-04 03:47:25.000000000 +1300
+++ kspread/ValueCalc.cpp
@@ -29,6 +29,10 @@
#include <stdlib.h>
#include <time.h>
+#ifdef __NetBSD__
+#define fmin(a,b) ((a) < (b) ? (a) : (b))
+#endif
+
using namespace KSpread;