<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ecb41cddf54ad72034d57a4835099aa94ec6f2cf">https://github.com/macports/macports-ports/commit/ecb41cddf54ad72034d57a4835099aa94ec6f2cf</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 ecb41cddf54 graphviz-gui: fix builds for 10.11, with sdk 10.12 Fixes: https://trac.macports.org/ticket/63597
</span>ecb41cddf54 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ecb41cddf54ad72034d57a4835099aa94ec6f2cf
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Mon Jul 18 20:17:32 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> graphviz-gui: fix builds for 10.11, with sdk 10.12
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/63597
</span>---
graphics/graphviz/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphviz/Portfile b/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 156cb52e993..96fad076bff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphviz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -332,6 +332,17 @@ subport graphviz-gui${thisbranch} {
</span> destroot.pre_args -UseNewBuildSystem=NO
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # When building for 10.11, with the 10.12 SDK, builds fail due to:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # - Unknown type name 'NSToolbarItemIdentifier'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # That identifier must be replaced with 'NSString *' for this scenario.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See: https://trac.macports.org/ticket/63597
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (${os.major} == 15) && [vercmp ${xcodeversion} 8] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_debug "Building for 10.11 with 10.12 SDK; enabling patch for NSToolbarItemIdentifer"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|NSToolbarItemIdentifier|NSString *|g" macosx/GVAttributeInspectorController.h
</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> xcode.configuration Release
build.dir ${worksrcpath}/macosx
</pre><pre style='margin:0'>
</pre>