<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01a8b33d0e045a3fa68392276089663946c73d6e">https://github.com/macports/macports-ports/commit/01a8b33d0e045a3fa68392276089663946c73d6e</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 01a8b33 gsmartcontrol: 1.0.2, requires C++11 now
</span>01a8b33 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 01a8b33d0e045a3fa68392276089663946c73d6e
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Mon Jul 31 22:17:39 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> gsmartcontrol: 1.0.2, requires C++11 now
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> gmsartcontrol uses C++11 but does not pass -std=c++11 to the compiler by
</span><span style='display:block; white-space:pre;color:#404040;'> default. This causes the build to fail with Apple LLVM version 8.1.0
</span><span style='display:block; white-space:pre;color:#404040;'> (clang-802.0.42). Fix this by passing -std=c++11 explicitly and using
</span><span style='display:block; white-space:pre;color:#404040;'> the cxx11 portgroup.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Additionally, update to 1.0.2.
</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/54550
</span>---
sysutils/gsmartcontrol/Portfile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/gsmartcontrol/Portfile b/sysutils/gsmartcontrol/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2cc1662..c4c6c80 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/gsmartcontrol/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/gsmartcontrol/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,10 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
name gsmartcontrol
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.2
</span> maintainers cal openmaintainer
categories sysutils gnome
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,8 +22,8 @@ homepage http://gsmartcontrol.sourceforge.net/
</span> master_sites sourceforge:project/${name}/${version}/
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f7ddc9bd58c0aa87329465fa76f4636b55749101 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 4ec0320c4c40a129cacabbfa7f302146abb69e927cfe9ded0e55b5b9cbe0d949
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 69949a0b176d1d0cdda17f4986ac3a4700f31546 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4f70451c359d95edc974498b860696b698f19b187340dc7207b4b38cbaf5e207
</span>
depends_build port:pkgconfig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +32,9 @@ depends_lib port:pcre \
</span> port:gtk3 \
port:gtkmm3
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -std=c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-activate {
system "gtk-update-icon-cache-3.0 ${prefix}/share/icons/hicolor"
}
</pre><pre style='margin:0'>
</pre>