<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/90e528935b7c5474fe09bc999b8b945cd2724366">https://github.com/macports/macports-ports/commit/90e528935b7c5474fe09bc999b8b945cd2724366</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 90e528935b7c5474fe09bc999b8b945cd2724366
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Mon Oct 12 04:46:07 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> ghostscript: fix build w/ freetype 2.10.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/61306
</span>---
print/ghostscript/Portfile | 5 +++++
print/ghostscript/files/patch-base_fapi_ft.c.diff | 21 +++++++++++++++++++++
2 files changed, 26 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/Portfile b/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2a3638c2ca7..833480aa712 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,11 @@ patchfiles patch-base_unix-dll.mak.diff \
</span> # https://bugs.ghostscript.com/show_bug.cgi?id=702474
patchfiles-append patch-6756b355c238.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Provide FT_CALLBACK_DEF macro removed from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# <freetype/config/ftconfig.h> in freetype 2.10.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/61306
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-base_fapi_ft.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> checksums ghostpdl-9.52.tar.gz \
rmd160 1e719f907c8dc6dd0000bf2c547eee54fd583b9f \
sha256 8f6e48325c106ae033bbae3e55e6c0b9ee5c6b57e54f7cd24fb80a716a93b06a \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/files/patch-base_fapi_ft.c.diff b/print/ghostscript/files/patch-base_fapi_ft.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..95f64b5c63b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/files/patch-base_fapi_ft.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Provide FT_CALLBACK_DEF macro removed from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<freetype/config/ftconfig.h> in freetype 2.10.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://trac.macports.org/ticket/61306
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- base/fapi_ft.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ base/fapi_ft.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -124,6 +124,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete_inc_int_info(gs_fapi_server * a_server,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FT_IncrementalRec * a_inc_int_info);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef FT_CALLBACK_DEF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __cplusplus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define FT_CALLBACK_DEF( x ) extern "C" x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define FT_CALLBACK_DEF( x ) static x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FT_CALLBACK_DEF(void *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FF_alloc(FT_Memory memory, long size)
</span></pre><pre style='margin:0'>
</pre>