<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/a0498b92e1852df4a6c410b7785a53a789536f1f">https://github.com/macports/macports-ports/commit/a0498b92e1852df4a6c410b7785a53a789536f1f</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 a0498b9 fontforge: Fix build on High Sierra
</span>a0498b9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a0498b92e1852df4a6c410b7785a53a789536f1f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Oct 4 01:41:53 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> fontforge: Fix build on High Sierra
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/54960
</span>---
graphics/fontforge/Portfile | 4 ++++
graphics/fontforge/files/require_noerr.patch | 36 ++++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/fontforge/Portfile b/graphics/fontforge/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 85a9968..675cdb8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/fontforge/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/fontforge/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,6 +67,10 @@ patchfiles patch-Makefile.dynamic.in.diff \
</span> patch-gutils_dynamic.c.diff \
patch-xcode-43.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} > 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_noerr.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> post-patch {
if {${os.major} > 11 && ${os.platform} eq "darwin"} {
reinplace -W ${worksrcpath}/fontforge "s|AnchorPoint|FFAnchorPoint|g" \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/fontforge/files/require_noerr.patch b/graphics/fontforge/files/require_noerr.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b7ca208
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/fontforge/files/require_noerr.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix build with macOS High Sierra and later.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Applying this patch conditionally on Snow Leopard and later, because
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+it would break Leopard and earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/fontforge/fontforge/issues/3164
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/fontforge/fontforge/pull/3166/commits/015f8300a4e19f6710e577a6b916930bdba5e20b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- fontforge/startui.c.orig 2012-07-26 11:29:19.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ fontforge/startui.c 2017-10-03 19:21:32.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -768,23 +768,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ err = AEInstallEventHandler(kCoreEventClass, kAEOpenApplication,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NewAEEventHandlerUPP(OpenApplicationAE), 0, false);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- require_noerr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __Require_noErr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ err = AEInstallEventHandler(kCoreEventClass, kAEReopenApplication,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NewAEEventHandlerUPP(ReopenApplicationAE), 0, false);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- require_noerr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __Require_noErr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ err = AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NewAEEventHandlerUPP(OpenDocumentsAE), 0, false);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- require_noerr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __Require_noErr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ err = AEInstallEventHandler(kCoreEventClass, kAEQuitApplication,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NewAEEventHandlerUPP(QuitApplicationAE), 0, false);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- require_noerr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __Require_noErr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ err = AEInstallEventHandler(kCoreEventClass, kAEShowPreferences,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NewAEEventHandlerUPP(ShowPreferencesAE), 0, false);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- require_noerr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ __Require_noErr(err, CantInstallAppleEventHandler);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* some debugging code, for now */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ( getenv("HOME")!=NULL ) {
</span></pre><pre style='margin:0'>
</pre>