pkgsrc-wip/LabPlot/patches/patch-ba

15 lines
339 B
Plaintext

--- src/CapabilityListDialog.cc.orig 2007-09-22 22:47:10.000000000 +0400
+++ src/CapabilityListDialog.cc 2009-09-06 02:06:37.000000000 +0400
@@ -9,6 +9,11 @@
#include <gsl/gsl_blas.h>
#endif
+#ifdef __NetBSD__
+#define fmin(a,b) ((a)<(b)?(a):(b))
+#define fmax(a,b) ((a)>(b)?(a):(b))
+#endif
+
struct capdata {
int n;
double * x;