Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build on MacOS X 10.11 #6502

Closed
DorpsGek opened this issue Aug 29, 2016 · 3 comments
Closed

fix build on MacOS X 10.11 #6502

DorpsGek opened this issue Aug 29, 2016 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

yk opened the ticket and wrote:

macosx 10.11 SDK has removed some API functions which were declared deprecated since 10.6.

Reported version: 1.6.1
Operating system: Mac OS X


This issue was imported from FlySpray: https://bugs.openttd.org/task/6502
@DorpsGek
Copy link
Member Author

yk wrote:

proposed patch which fixes the build

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6502#comment14263

@DorpsGek
Copy link
Member Author

shatteringlass wrote:

On 10.12 I also needed to cast a function argument. Line 158 has to be changed to this:

  if (MusicSequenceFileLoad(_sequence, url, (MusicSequenceFileTypeID)0, 0) != noErr) {

This comment was imported from FlySpray: https://bugs.openttd.org/task/6502#comment14283

@DorpsGek
Copy link
Member Author

michi_cc closed the ticket.

Reason for closing: Fixed

In r27675 hopefully.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6502

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant