<div dir="ltr"><div dir="ltr">On Mon, Dec 7, 2020 at 3:10 AM Dominik Reichardt <<a href="mailto:domiman@gmail.com">domiman@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div dir="auto" style="overflow-wrap: break-word;"><div>I need to test whether a patch for cairo helps for a severe crash bug when you build against it with macOS SDK 11.0.</div><div>(see <a href="https://gitlab.freedesktop.org/cairo/cairo/-/issues/420" target="_blank">https://gitlab.freedesktop.org/cairo/cairo/-/issues/420</a> and the pull request <a href="https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/52" target="_blank">!52</a>)</div><div><br></div><div>As Cairo, its dependencies as well as GTK+3 (+ dependencies) is all done via MacPorts, I wonder if I can do this via local port file + local code. I dimly remember doing something like this years ago and I didn’t need to do all of the <a href="https://guide.macports.org/chunked/development.local-repositories.html" target="_blank">4.6. Local Portfile Repositories</a> steps (and especially where and how to reference local source repository alludes me).</div></div></div></blockquote><div><br></div><div>To install a single modified port, all you need to do is have the Portfile (and any patches, etc.) in some directory, then run <font face="monospace">sudo port install</font> (with no port name argument) from that directory.</div></div></div>