[MacPorts] #71575: harfbuzz @10.1: error: use of undeclared identifier 'CTFontManagerCreateFontDescriptorsFromURL'

MacPorts noreply at macports.org
Thu Jun 5 15:23:13 UTC 2025


#71575: harfbuzz @10.1: error: use of undeclared identifier
'CTFontManagerCreateFontDescriptorsFromURL'
-------------------------------------+-------------------------------------
  Reporter:  rmottola                |      Owner:  mascguy
      Type:  defect                  |     Status:  assigned
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:  leopard legacy-os
      Port:  harfbuzz, harfbuzz-     |  haspatch
  devel                              |
-------------------------------------+-------------------------------------

Comment (by tomio-arisaka):

 Replying to [comment:17 ryandesign]:
 > Has duplicate #72574, occurring on 10.13 and 10.14. Looks like we did
 not deal with this before updating the harfbuzz port.

 I looked at https://github.com/ArtifexSoftware/thirdparty-
 harfbuzz/commit/47a73eab5c66ef6e8938417dfda3b6d79bc55d0b

 So the following patch works well for me on macOS High Sierra:

 {{{
 --- src/hb-coretext.cc.orig     2025-05-13 01:51:07.000000000 +0900
 +++ src/hb-coretext.cc  2025-06-05 17:44:30.000000000 +0900
 @@ -207,7 +207,7 @@
    {
      // https://github.com/harfbuzz/harfbuzz/issues/5300
  #if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) &&
 __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) || \
 -    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) &&
 __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || \
 +    (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) &&
 __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || \
      (defined(__TV_OS_VERSION_MIN_REQUIRED) &&
 __TV_OS_VERSION_MIN_REQUIRED >= 110000) || \
      (defined(__WATCH_OS_VERSION_MIN_REQUIRED) &&
 __WATCH_OS_VERSION_MIN_REQUIRED >= 40000) || \
      (defined(__MACCATALYST_VERSION_MIN_REQUIRED) &&
 __MACCATALYST_VERSION_MIN_REQUIRED >= 130100) || \
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71575#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list