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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/14a4c593634999bbba14544fadf32076f57124ac">https://github.com/macports/macports-ports/commit/14a4c593634999bbba14544fadf32076f57124ac</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 14a4c59  textproc/source-highlight: use cxx-1.1 PortGroup, force stdlib selection, revbump.
</span>14a4c59 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 14a4c593634999bbba14544fadf32076f57124ac
</span>Author: Mihai Moldovan <ionic@ionic.de>
AuthorDate: Sat Mar 17 01:52:32 2018 +0100

<span style='display:block; white-space:pre;color:#404040;'>    textproc/source-highlight: use cxx-1.1 PortGroup, force stdlib selection, revbump.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    This selects the right compiler and stdlib, which is especially
</span><span style='display:block; white-space:pre;color:#404040;'>    important on older systems that need to use our stdlib based on a newer
</span><span style='display:block; white-space:pre;color:#404040;'>    GCC version that provides proper C++11 support.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Since libtool is picky about compiler flags and likes to strip unknown
</span><span style='display:block; white-space:pre;color:#404040;'>    flags out, force the stdlib selection to have libsource-highlight link
</span><span style='display:block; white-space:pre;color:#404040;'>    against the correct stdlib (incidentally also the one that boost was
</span><span style='display:block; white-space:pre;color:#404040;'>    built against).
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/56013
</span>---
 textproc/source-highlight/Portfile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/source-highlight/Portfile b/textproc/source-highlight/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 541c9a2..5a5e829 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/source-highlight/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/source-highlight/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,9 +2,12 @@
</span> 
 PortSystem 1.0
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Needed for older systems to select the right compiler and stdlib.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup       cxx 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> name            source-highlight
 version         3.1.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision        3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision        4
</span> categories      textproc devel
 license         GPL-3+
 maintainers     nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +25,10 @@ master_sites    gnu:src-highlite
</span> checksums       rmd160  a6e0ad1713deb2056984a97adc7dfd0e6610809f \
                 sha256  01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Make sure that the port does not link against system libstdc++.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# libtool strips unknown flags in link mode, c.f.,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append    -Wc,-stdlib=${configure.cxx_stdlib}
</span> 
 configure.args  --infodir=${prefix}/share/info \
                 --mandir=${prefix}/share/man \
</pre><pre style='margin:0'>

</pre>