<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 7. Dec 2020, at 17:54, Kevin Reid <<a href="mailto:kpreid@switchb.org" class="">kpreid@switchb.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<div dir="ltr" class=""><div dir="ltr" class="">On Mon, Dec 7, 2020 at 3:10 AM Dominik Reichardt <<a href="mailto:domiman@gmail.com" class="">domiman@gmail.com</a>> wrote:<br class=""></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;" class=""><div dir="auto" style="overflow-wrap: break-word;" class=""><div class="">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 class="">(see <a href="https://gitlab.freedesktop.org/cairo/cairo/-/issues/420" target="_blank" class="">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" class="">!52</a>)</div><div class=""><br class=""></div><div class="">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" class="">4.6. Local Portfile Repositories</a> steps (and especially where and how to reference local source repository alludes me).</div></div></div></blockquote><div class=""><br class=""></div><div class="">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" class="">sudo port install</font> (with no port name argument) from that directory.</div></div></div>
</div></blockquote></div><br class=""><div class="">Thank you, that helps the first step, but does it need to be a patch with source in the net, or can I manage this with local source as well?</div></body></html>