<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/c0f1c34f39a22c73d246791eb3050aad9daa18dd">https://github.com/macports/macports-ports/commit/c0f1c34f39a22c73d246791eb3050aad9daa18dd</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 c0f1c34 liblas: add -std=c++11 to flags and fix the patch
</span>c0f1c34 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c0f1c34f39a22c73d246791eb3050aad9daa18dd
</span>Author: Veence <vince@macports.org>
AuthorDate: Tue Oct 16 14:14:49 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> liblas: add -std=c++11 to flags and fix the patch
</span>---
gis/liblas/Portfile | 17 ++++++++++-------
gis/liblas/files/patch-gt_citation_cpp.diff | 17 +++++++++++++++--
2 files changed, 25 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/liblas/Portfile b/gis/liblas/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 855f3a4..9ea47d4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/liblas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/liblas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#-*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
PortSystem 1.0
PortGroup cmake 1.0
name liblas
version 1.8.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> distname libLAS-${version}-src.tar
use_bzip2 yes
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,16 +29,19 @@ checksums rmd160 b397a8a1a108ea694f6fccbe8463636cff9a04d9 \
</span> distname libLAS-${version}
patchfiles patch-gt_citation_cpp.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
-DWITH_GEOTIFF=ON \
-DWITH_GDAL=ON
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:boost \
port:gdal \
port:libgeotiff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -id ${prefix}/lib/liblas.2.4.0.dylib ${destroot}${prefix}/lib/liblas.2.4.0.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -id ${prefix}/lib/liblas_c.2.4.0.dylib ${destroot}${prefix}/lib/liblas_c.2.4.0.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -change "@rpath/liblas.3.dylib" ${prefix}/lib/liblas.3.dylib ${destroot}${prefix}/lib/liblas_c.2.4.0.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# exec install_name_tool -id ${prefix}/lib/liblas.2.4.0.dylib ${destroot}${prefix}/lib/liblas.2.4.0.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# exec install_name_tool -id ${prefix}/lib/liblas_c.2.4.0.dylib ${destroot}${prefix}/lib/liblas_c.2.4.0.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# exec install_name_tool -change "@rpath/liblas.3.dylib" ${prefix}/lib/liblas.3.dylib ${destroot}${prefix}/lib/liblas_c.2.4.0.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/liblas/files/patch-gt_citation_cpp.diff b/gis/liblas/files/patch-gt_citation_cpp.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index c78a086..abad32a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/liblas/files/patch-gt_citation_cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/liblas/files/patch-gt_citation_cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/gt_citation.cpp.orig 2017-06-27 18:51:08.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/gt_citation.cpp 2017-06-27 18:51:45.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/gt_citation.cpp.old 2016-08-22 15:06:34.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/gt_citation.cpp 2018-10-16 14:08:18.000000000 +0200
</span> @@ -155,7 +155,7 @@
if(p1[0] == '\0' || p1[0] == '\n' || p1[0] == ' ')
p1 --;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,3 +18,16 @@
</span> p2--;
if(p2 != p1 - 1)
p1 = p2;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -387,10 +387,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ osCitation += primemName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bRewriteGeogCitation = TRUE;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- double primemValue = poSRS->GetPrimeMeridian(NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ double primemValue = poSRS->GetPrimeMeridian((char **)NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(angUnitName && !EQUAL(angUnitName, "Degree"))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- double aUnit = poSRS->GetAngularUnits(NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ double aUnit = poSRS->GetAngularUnits((char **)NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ primemValue *= aUnit;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GTIFKeySet( psGTIF, GeogPrimeMeridianLongGeoKey, TYPE_DOUBLE, 1,
</span></pre><pre style='margin:0'>
</pre>