<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/9286224ccf0512da04a95dbd776a69f47a77ebc0">https://github.com/macports/macports-ports/commit/9286224ccf0512da04a95dbd776a69f47a77ebc0</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 9286224 gtk-vnc: Fix build on OS X Mavericks and earlier
</span>9286224 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9286224ccf0512da04a95dbd776a69f47a77ebc0
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Dec 30 23:55:10 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> gtk-vnc: Fix build on OS X Mavericks and earlier
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use a newer Python because the old Python on Mavericks doesn't run the
</span><span style='display:block; white-space:pre;color:#404040;'> build system program keymap-gen properly.
</span>---
gnome/gtk-vnc/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk-vnc/Portfile b/gnome/gtk-vnc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0ffdc73..8350150 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk-vnc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk-vnc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,6 +47,13 @@ autoreconf.args -fvi
</span>
configure.args --disable-silent-rules
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Mavericks comes with Python 2.7.5 which is too old to run keymap-gen properly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See https://bugzilla.gnome.org/show_bug.cgi?id=792075
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # for ucontext
configure.cppflags-append \
-D_XOPEN_SOURCE
</pre><pre style='margin:0'>
</pre>