<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ec07830948a734be440254571a006ee96fbfff64">https://github.com/macports/macports-ports/commit/ec07830948a734be440254571a006ee96fbfff64</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new ec07830  update to 2.2.5
</span>ec07830 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ec07830948a734be440254571a006ee96fbfff64
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sat Sep 23 14:44:33 2017 +0900

<span style='display:block; white-space:pre;color:#404040;'>    update to 2.2.5
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/54791
</span>---
 math/mlpack/Portfile                               | 10 +++-----
 ...-src-mlpack-methods-kmeans-kmeans_impl.hpp.diff | 11 --------
 .../mlpack/files/patch-src-mlpack-prereqs.hpp.diff | 30 ----------------------
 3 files changed, 3 insertions(+), 48 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/mlpack/Portfile b/math/mlpack/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3054ce9..6ed3be4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/mlpack/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/mlpack/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ compilers.choose    cc cxx
</span> compilers.setup     -dragonegg -llvm -gcc
 
 name                mlpack
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             2.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             2.2.5
</span> categories          math devel science
 platforms           darwin
 license             BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,18 +23,14 @@ homepage            http://mlpack.org/index.html
</span> master_sites        https://github.com/${name}/${name}/archive/
 worksrcdir          ${name}-${name}-${version}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  b35b73f401be4c1a4b42afb166c310d3756ded21 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  40fa7c967e5999b4b41f9ad92d0b30c3819749bcd35df7b925eb7488f9bac67e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  899cddfe2d5ae1e6ef38ba06bdb10046e4f1d94e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  6bba8b28a50dc3b8afacd357aca57a658cf5b8d90a57d38f357d7e2eafcf09bb
</span> 
 depends_build       port:cmake
 depends_lib         port:armadillo \
                     port:boost \
                     port:libxml2
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/mlpack/mlpack/issues/522
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append   patch-src-mlpack-prereqs.hpp.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-src-mlpack-methods-kmeans-kmeans_impl.hpp.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> cmake.out_of_source yes
 
 configure.args-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/mlpack/files/patch-src-mlpack-methods-kmeans-kmeans_impl.hpp.diff b/math/mlpack/files/patch-src-mlpack-methods-kmeans-kmeans_impl.hpp.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 86c1cea..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/mlpack/files/patch-src-mlpack-methods-kmeans-kmeans_impl.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/mlpack/methods/kmeans/kmeans_impl.hpp.orig 2016-02-05 07:40:47.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/mlpack/methods/kmeans/kmeans_impl.hpp      2016-04-28 10:06:29.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -175,7 +175,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-     iteration++;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-     Log::Info << "KMeans::Cluster(): iteration " << iteration << ", residual "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-         << cNorm << ".\n";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--    if (isnan(cNorm) || isinf(cNorm))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+    if (std::isnan(cNorm) || std::isinf(cNorm))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-       cNorm = 1e-4; // Keep iterating.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-   } while (cNorm > 1e-5 && iteration != maxIterations);
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/mlpack/files/patch-src-mlpack-prereqs.hpp.diff b/math/mlpack/files/patch-src-mlpack-prereqs.hpp.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index ee7584c..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/mlpack/files/patch-src-mlpack-prereqs.hpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,30 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/mlpack/prereqs.hpp.orig    2016-02-05 07:40:47.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/mlpack/prereqs.hpp 2016-04-28 10:15:00.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -21,19 +21,19 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // Next, standard includes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <ctype.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <limits.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <float.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <stdint.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cstdlib>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cstdio>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cstring>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cctype>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <climits>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cfloat>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cstdint>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <iostream>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdexcept>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // Defining _USE_MATH_DEFINES should set M_PI.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define _USE_MATH_DEFINES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <math.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <cmath>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // For tgamma().
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <boost/math/special_functions/gamma.hpp>
</span></pre><pre style='margin:0'>

</pre>