aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2017-04-15 11:01:23 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2017-04-15 11:01:23 +0800
commitebe63215392085e7a2ac1ee6169bfad1a33a3cd0 (patch)
treed2f73412965ddc5e35abfcdccb41149c590029f7
parented39f43d33a3e986c7197476dacca34510645afd (diff)
downloadfreebsd-ports-gnome-ebe63215392085e7a2ac1ee6169bfad1a33a3cd0.tar.gz
freebsd-ports-gnome-ebe63215392085e7a2ac1ee6169bfad1a33a3cd0.tar.zst
freebsd-ports-gnome-ebe63215392085e7a2ac1ee6169bfad1a33a3cd0.zip
science/InsightToolkit: Fix build with clang 4.0
PR: 216617 Reported by: jbeich Obtained from: http://review.source.kitware.com/#/c/22043/ MFH: 2017Q2
-rw-r--r--science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_v3p_netlib_linalg_lsqrBase.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_v3p_netlib_linalg_lsqrBase.cxx b/science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_v3p_netlib_linalg_lsqrBase.cxx
new file mode 100644
index 000000000000..eeee950ec86b
--- /dev/null
+++ b/science/InsightToolkit/files/patch-Modules_ThirdParty_VNL_src_vxl_v3p_netlib_linalg_lsqrBase.cxx
@@ -0,0 +1,11 @@
+--- Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linalg/lsqrBase.cxx.orig 2017-04-15 02:48:16 UTC
++++ Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linalg/lsqrBase.cxx
+@@ -562,7 +562,7 @@ Solve( unsigned int m, unsigned int n, const double *
+ // See if it is time to print something.
+ //----------------------------------------------------------------
+ bool prnt = false;
+- if (nout > 0)
++ if ( this->nout )
+ {
+ if (n <= 40) prnt = true;
+ if (this->itn <= 10) prnt = true;