<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/e760810c47ff12639096e468b118c459b2edb3c6">https://github.com/macports/macports-ports/commit/e760810c47ff12639096e468b118c459b2edb3c6</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 e760810 harfbuzz: Fix build on OS X 10.9 and earlier
</span>e760810 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e760810c47ff12639096e468b118c459b2edb3c6
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Jun 7 20:04:00 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> harfbuzz: Fix build on OS X 10.9 and earlier
</span>---
graphics/harfbuzz/Portfile | 2 ++
graphics/harfbuzz/files/10.9.patch | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/harfbuzz/Portfile b/graphics/harfbuzz/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dac2024..e80bcb3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/harfbuzz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/harfbuzz/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +31,8 @@ compiler.blacklist-append {clang < 700}
</span>
depends_build port:pkgconfig
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles 10.9.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --disable-silent-rules \
ac_cv_prog_AWK=/usr/bin/awk
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/harfbuzz/files/10.9.patch b/graphics/harfbuzz/files/10.9.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8eaa056
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/harfbuzz/files/10.9.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix build on 10.9 and earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/harfbuzz/harfbuzz/issues/2452
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/harfbuzz/harfbuzz/pull/2453
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/hb-coretext.cc.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/hb-coretext.cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -514,7 +514,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ active_feature_t feature;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1010
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const hb_aat_feature_mapping_t * mapping = hb_aat_layout_find_feature_mapping (features[i].tag);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!mapping)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -573,7 +573,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* active_features.qsort (); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (unsigned int j = 0; j < active_features.length; j++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1010
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED < 101000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFStringRef keys[] = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kCTFontFeatureTypeIdentifierKey,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kCTFontFeatureSelectorIdentifierKey
</span></pre><pre style='margin:0'>
</pre>