Closed ged closed 6 years ago
Thank you for your PR. I accept it.
comment: The change of Rakefile should be separated into another pull request since the purpose of the two commits are different. If you have another chance of pull request, please be more careful.
That makes sense. Sorry for being lazy, and thanks for accepting this!
This patch adds support for versions of SDL_mixer 2.0.2 and later, which removed the
MIX_INIT_MODPLUG
andMIX_INIT_FLUIDSYTH
constants, and addedMIX_INIT_MID
.I implemented this using
have_const
and theextconf.h
that Mkmf can generate so it'll keep working under earlier versions, but I'm sure there are better ways to do this. I'm not at all familiar with M4, or I'd have attempted to use that instead to follow the project's conventions a bit more closely.I also included some Rake tasks for
clean
andclobber
in a separate commit that made it easier to rebuild it cleanly under various Ruby versions in case they might be useful; you should of course feel free to discard whatever you want from this PR.Thanks again for a great library!