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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fb6505224cf431a807555c3c59c094ea48433b87">https://github.com/macports/macports-ports/commit/fb6505224cf431a807555c3c59c094ea48433b87</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 fb65052  rsgislib: add -std=c++11 flag to make the build compatible with gdal 2.3
</span>fb65052 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit fb6505224cf431a807555c3c59c094ea48433b87
</span>Author: Veence <vince@macports.org>
AuthorDate: Mon May 21 10:59:10 2018 +0200

<span style='display:block; white-space:pre;color:#404040;'>    rsgislib: add -std=c++11 flag to make the build compatible with gdal 2.3
</span>---
 gis/rsgislib/Portfile                              | 36 +++++++++++++---------
 .../files/patch-RSGISHistoCubeFileIO_cpp.diff      | 11 +++++++
 2 files changed, 32 insertions(+), 15 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib/Portfile b/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e7b33fd..251f137 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,10 @@
</span> PortSystem          1.0
 PortGroup           bitbucket 1.0
 PortGroup           cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           compiler_blacklist_versions 1.0
</span> 
 bitbucket.setup     petebunting rsgislib 3.4.9
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            5
</span> categories          gis
 license             GPL-3
 maintainers         {vince @Veence}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,19 +18,19 @@ platforms           darwin
</span> homepage            http://www.rsgislib.org
 bitbucket.tarball_from  downloads
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums               rmd160  028471cc352fc787ed8fd3e230f68c7db486107d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        sha256  a271aee61395166542f3283fe899eff317ffb782f59ca90da0f008a203ebe5f3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        size    8092496
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  028471cc352fc787ed8fd3e230f68c7db486107d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  a271aee61395166542f3283fe899eff317ffb782f59ca90da0f008a203ebe5f3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    8092496
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append      port:gdal \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:geos \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:cgal \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:boost \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:xercesc3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:gsl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:fftw-3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:kealib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:muparser
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append  port:gdal \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:geos \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:cgal \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:xercesc3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:gsl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:fftw-3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:kealib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:muparser
</span> 
 if {![variant_isset python27] && ![variant_isset python35] && \
     ![variant_isset python36]} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,10 +38,15 @@ if {![variant_isset python27] && ![variant_isset python35] && \
</span>     default_variants +python36
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles              patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-CMakeLists.txt.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-RSGISHistoCubeFileIO_cpp.diff
</span> 
 # /bin/sh: line 0: cd: build/python: No such file or directory
<span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake.out_of_source     no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.out_of_source no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# want --std=c++11 otherwise doesn’t compile with GDAL 2.3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append   {clang < 340}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append   -std=c++11
</span> 
 configure.args-append   -DBOOST_INCLUDE_DIR=${prefix}/include \
                         -DBOOST_LIB_PATH=${prefix}/lib \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/rsgislib/files/patch-RSGISHistoCubeFileIO_cpp.diff b/gis/rsgislib/files/patch-RSGISHistoCubeFileIO_cpp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7ee8296
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/rsgislib/files/patch-RSGISHistoCubeFileIO_cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/histocube/RSGISHistoCubeFileIO.cpp.orig    2018-05-21 10:47:11.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/histocube/RSGISHistoCubeFileIO.cpp 2018-05-21 10:47:45.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -351,7 +351,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 fileChuckSize = this->numOfFeats;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-            hsize_t dimsDataChunkSize[] = { fileChuckSize, numBins };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++            hsize_t dimsDataChunkSize[] = {static_cast<hsize_t>(fileChuckSize), numBins };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             H5::DSetCreatPropList initParamsCubeLayer;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             initParamsCubeLayer.setChunk(2, dimsDataChunkSize);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             initParamsCubeLayer.setShuffle();
</span></pre><pre style='margin:0'>

</pre>