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 FreeBSD #22

Closed

Conversation

ephemeralriggs
Copy link
Contributor

Two patchsets are required to make mpd build successfully on FreeBSD. These are likely issues on other platforms as well.

  • src/util/VarSize.hxx requires cstdlib to be included to use free() . Probably on Linux this is pulled in via some other header and hence complies.
  • During the overhaul of the DB methods, several method signatures no longer match the corresponding types in Interface.hxx. clang36 on FreeBSD-10 refuses to auto-convert the 'static bool' methods to the required 'void' and exits.

@MaxKellermann
Copy link
Member

Cherry-picked into v0.20.x (stable)

@ephemeralriggs ephemeralriggs deleted the freebsd branch February 26, 2017 08:25
Rio6 pushed a commit to Rio6/MPD that referenced this pull request May 12, 2021
When youtube-dl fails, it exits with an error code and prints an error
message on stderr, writing nothing to stdout. This resulted in a yajl
"unexpected EOF" error, which is unhelpful to users.

Fixes MusicPlayerDaemon#22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants