Opened 9 years ago
Closed 2 years ago
#50784 closed defect (fixed)
MPlayer @1.2_1 and @1.2_2 patch to use new coreaudio API calls
Reported by: | noel@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | MPlayer |
Description
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.
Attachments (4)
Change History (7)
Changed 9 years ago by noel@…
comment:1 Changed 9 years ago by dbevans (David B. Evans)
Cc: | jeremyhu@… openmaintainer@… removed |
---|---|
Owner: | changed from macports-tickets@… to jeremyhu@… |
No need to copy openmaintainer, this is not a real email address but just indicates that the maintainer allows updates from other maintainers as well.
comment:2 Changed 9 years ago by noel@…
Apologies for not compressing the main.log before uploading.
comment:3 Changed 2 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
failed build, full log