<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/123a26cacfbc2df6d4746d173cb0c7af33f59795">https://github.com/macports/macports-ports/commit/123a26cacfbc2df6d4746d173cb0c7af33f59795</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 123a26cacfbc2df6d4746d173cb0c7af33f59795
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Jan 30 11:21:30 2017 -0800
<span style='display:block; white-space:pre;color:#404040;'> inkscape: fix startup crash on Sierra
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> On Sierra, building with clang optimization enabled causes crash at startup.
</span><span style='display:block; white-space:pre;color:#404040;'> Issue effects both +x11 and +quartz builds.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/52632
</span>---
graphics/inkscape/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/inkscape/Portfile b/graphics/inkscape/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8b0e6af..2d6480f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/inkscape/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/inkscape/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name inkscape
conflicts inkscape-devel
version 0.92.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> license GPL-2 LGPL-2.1
maintainers devans
categories graphics gnome
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,6 +68,14 @@ post-patch {
</span>
universal_variant no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# on Sierra, building with clang optimization enabled causes crash at startup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# issue effects both +x11 and +quartz builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} > 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.optflags -O0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cmd ./autogen.sh && ./configure
configure.python ${prefix}/bin/python2.7
</pre><pre style='margin:0'>
</pre>