$NetBSD: patch-aa,v 1.3 2010/12/05 10:36:41 wiz Exp $ NetBSD doesn't have expl(3) yet. --- modules/ml/src/gbt.cpp.orig 2010-12-05 03:35:25.000000000 +0000 +++ modules/ml/src/gbt.cpp @@ -11,7 +11,7 @@ using namespace std; #define CV_CMP_FLOAT(a,b) ((a) < (b)) static CV_IMPLEMENT_QSORT_EX( icvSortFloat, float, CV_CMP_FLOAT, float) -#if ANDROID +#if defined(ANDROID) || defined(__NetBSD__) #define expl(x) exp(x) #endif