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

MacPorts noreply at macports.org
Sat Dec 21 21:48:17 UTC 2024


#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-devel  |
---------------------------------------+-------------------------------

Comment (by kencu):

 This worked:

 {{{
 diff --git graphics/harfbuzz/Portfile graphics/harfbuzz/Portfile
 index 1f06c5cc1d2..b4ee13901d3 100644
 --- graphics/harfbuzz/Portfile
 +++ graphics/harfbuzz/Portfile
 @@ -112,7 +112,7 @@ if {${name} eq ${subport}} {
                      ${destroot}${docdir}
      }

 -    if {${os.platform} eq "darwin" && ${os.major} >= 9} {
 +    if {${os.platform} eq "darwin" && ${os.major} >= 10} {
          configure.args-append \
                      -Dcoretext=enabled
      } else {
 }}}

 {{{
 $ port -v installed harfbuzz
 The following ports are currently installed:
   harfbuzz @10.1.0_1 (active) requested_variants='' platform='darwin 9'
 archs='ppc' date='2024-12-20T17:20:18-0800'
 }}}

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


More information about the macports-tickets mailing list