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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b2b6b1e03b126df77195029670197b7ce1396f32">https://github.com/macports/macports-ports/commit/b2b6b1e03b126df77195029670197b7ce1396f32</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 b2b6b1e  expat: Work around build failure on 10.6 and earlier
</span>b2b6b1e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b2b6b1e03b126df77195029670197b7ce1396f32
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jul 17 19:46:08 2017 -0500

<span style='display:block; white-space:pre;color:#404040;'>    expat: Work around build failure on 10.6 and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Acknowledge lack of arc4random_buf.
</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/54474
</span>---
 textproc/expat/Portfile | 7 +++++++
 1 file changed, 7 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/expat/Portfile b/textproc/expat/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bfe114d..36bf3ec 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/expat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/expat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,13 @@ use_bzip2           yes
</span> checksums           rmd160  053aff6a1d6ae9d0213dd13b52413aa85370e6d4 \
                     sha256  4376911fcf81a23ebd821bbabc26fd933f3ac74833f74924342c29aad2c86046
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && [vercmp ${macosx_deployment_target} 10.7] < 0 && [vercmp ${version} 2.2.2] == 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # expat 2.2.2 complains if arc4random_buf, introduced in OS X 10.7, is not available.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://github.com/libexpat/libexpat/issues/81
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Silence the complaint:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cppflags-append -DXML_POOR_ENTROPY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_parallel_build  yes
 
 test.run            yes
</pre><pre style='margin:0'>

</pre>