#50784: MPlayer @1.2_1 and @1.2_2 patch to use new coreaudio API calls --------------------+-------------------------------- Reporter: noel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: MPlayer --------------------+-------------------------------- My build of MPlayer +a52+fribidi+glx+mencoder_extras+noappleremote+osd+x11 fails with: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_CloseComponent", referenced from: :info:build _init in ao_coreaudio.o :info:build _uninit in ao_coreaudio.o :info:build "_FindNextComponent", referenced from: :info:build _init in ao_coreaudio.o :info:build "_OpenAComponent", referenced from: :info:build _init in ao_coreaudio.o }}} 10.11 has renamed various things in the API: {{{ Component -> AudioComponent ComponentDescription -> AudioComponentDescription FindNextComponent -> AudioComponentFindNext OpenAComponent -> AudioComponentInstanceNew CloseComponent -> AudioComponentInstanceDispose }}} The old names had been deprecated for some time and were recently removed. Apple's docs say that these routines work on 10.6 and forwards. The attached patch works against both 1.2_1 and 1.2_2. -- Ticket URL: <https://trac.macports.org/ticket/50784> MacPorts <https://www.macports.org/> Ports system for OS X