pkgsrc-wip/LabPlot/patches/patch-bl

15 lines
404 B
Plaintext

--- src/SpreadsheetValuesDialog.cc.orig 2007-09-22 23:01:16.000000000 +0400
+++ src/SpreadsheetValuesDialog.cc 2009-09-06 03:56:28.000000000 +0400
@@ -14,6 +14,11 @@
#include "LTableItem.h"
#include "defs.h"
+#ifdef __NetBSD__
+#define fmin(a,b) ((a)<(b)?(a):(b))
+#define fmax(a,b) ((a)>(b)?(a):(b))
+#endif
+
#include "parser_struct.h"
extern "C" con constants[];
extern "C" init arith_fncts[];