<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/791ccfea39660f899795feed8744d59745d88438">https://github.com/macports/macports-ports/commit/791ccfea39660f899795feed8744d59745d88438</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 791ccfe p7zip: add stdlib to clang builds
</span>791ccfe is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 791ccfea39660f899795feed8744d59745d88438
</span>Author: Ken <21211439+kencu@users.noreply.github.com>
AuthorDate: Sat Jul 14 18:14:52 2018 +0000
<span style='display:block; white-space:pre;color:#404040;'> p7zip: add stdlib to clang builds
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> fixes stdlib mismatch on some systems
</span><span style='display:block; white-space:pre;color:#404040;'> see https://trac.macports.org/ticket/56811
</span>---
archivers/p7zip/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/p7zip/Portfile b/archivers/p7zip/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ff643aa..4c0149a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/p7zip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/p7zip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +33,12 @@ patchfiles patch-CVE-2016-9296.diff \
</span> patch-CVE-2018-5996.diff \
patch-CVE-2018-10115.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# add the selected -stdlib to clang builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/56811
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.cxx}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure {
copy -force ${worksrcpath}/makefile.macosx_llvm_64bits ${worksrcpath}/makefile.machine
# this also corrects a typo in the makefile ('XX' rather than 'CXX')
</pre><pre style='margin:0'>
</pre>