<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e42a0abbc9a40b894f06f194e82b7a28808af170">https://github.com/macports/macports-ports/commit/e42a0abbc9a40b894f06f194e82b7a28808af170</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 e42a0ab  py-pyicu: attempt to fix build on 10.6 and earlier
</span>e42a0ab is described below

<span style='display:block; white-space:pre;color:#808000;'>commit e42a0abbc9a40b894f06f194e82b7a28808af170
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun Aug 11 17:50:24 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    py-pyicu: attempt to fix build 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;'>    See added comments for details.
</span>---
 python/py-pyicu/Portfile | 9 +++++++++
 1 file changed, 9 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyicu/Portfile b/python/py-pyicu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c412377..1175669 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyicu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyicu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</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           compiler_blacklist_versions 1.0
</span> PortGroup           python 1.0
 
 name                py-pyicu
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,6 +31,14 @@ if {${name} ne ${subport}} {
</span> 
     depends_lib-append  port:icu
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # attempt to define nullptr for gcc < 4.8 fails on 10.6 (and probably earlier)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # In file included from _icu.cpp:27:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # common.h:38: error: ISO C++ forbids declaration of ‘decltype’ with no type
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # common.h:38: error: typedef ‘std::decltype’ is initialized (use __typeof__ instead)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # common.h:38: error: ‘nullptr’ was not declared in this scope
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # error: command '/usr/bin/gcc-4.2' failed with exit status 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.blacklist-append  *gcc-3.* *gcc-4.* {clang < 300}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     pre-test {
         test.env    PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
     }
</pre><pre style='margin:0'>

</pre>