update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / LabPlot / patches / patch-bc
1 --- src/OperationsListDialog.cc.orig    2007-09-22 22:57:39.000000000 +0400
2 +++ src/OperationsListDialog.cc 2009-09-06 02:17:37.000000000 +0400
3 @@ -4,6 +4,11 @@
4  #include "OperationsListDialog.h"
5  #include "defs.h"
6  
7 +#ifdef __NetBSD__
8 +#define fmin(a,b) ((a)<(b)?(a):(b))
9 +#define fmax(a,b) ((a)>(b)?(a):(b))
10 +#endif
11 +
12  OperationsListDialog::OperationsListDialog(MainWin *m, const char *name)
13         : ListDialog(m, name)
14  {