Re: [MacPorts] #63230: fluidsynth @2.1.9: build fails on Leopard i386: fluid_coreaudio.c:190: error: ‘AudioComponentDescription’ undeclared

MacPorts noreply at macports.org
Fri Jul 9 19:49:12 UTC 2021


#63230: fluidsynth @2.1.9: build fails on Leopard i386: fluid_coreaudio.c:190:
error: ‘AudioComponentDescription’ undeclared
-------------------------+-------------------------
  Reporter:  kencu       |      Owner:  rjvbertin@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  leopard
      Port:  fluidsynth  |
-------------------------+-------------------------

Comment (by RJVB):

 FWIW, cmake's `/opt/local/share/cmake-3.20/Modules/Platform/Darwin-
 Initialize.cmake` file has 2 locations that do a check of the form

 {{{
 if ("x${foo}" EQ "/")
 }}}

 which I think can never evaluate to true. So that must either be a
 conscious, strange way to disable the code path, or a bug. Either way this
 may explain whe `CMAKE_OSX_SYSROOT="/"` doesn't behave as expected, so I'd
 remove the `x` from the expression if I were investigating the issue!

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


More information about the macports-tickets mailing list