<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/1344bdca5ef5b98b4dca66bb04c0367b7a44bdac">https://github.com/macports/macports-ports/commit/1344bdca5ef5b98b4dca66bb04c0367b7a44bdac</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 1344bdc xcrysden: change getline test to os version
</span>1344bdc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1344bdca5ef5b98b4dca66bb04c0367b7a44bdac
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Thu Jul 4 22:26:19 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> xcrysden: change getline test to os version
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> fixes build on < 10.7 by testing for os.version
</span><span style='display:block; white-space:pre;color:#404040;'> rather than gcc-4.2.
</span><span style='display:block; white-space:pre;color:#404040;'> adding PG legacysupport did not fix this port
</span>---
science/xcrysden/Portfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/xcrysden/Portfile b/science/xcrysden/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 94be8d2..5186a93 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/xcrysden/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/xcrysden/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,7 +79,7 @@ patchfiles patch-Makefile.diff \
</span> configure {
configure.optflags -O3
configure.cflags-append -DUSE_INTERP_RESULT
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[string match "*gcc-4.2" ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 11 } {
</span> configure.cflags-append -DXC_HAVE_NO_GETLINE
}
system -W ${worksrcpath} "echo '
</pre><pre style='margin:0'>
</pre>