Closed madebr closed 10 months ago
ftruncate is a file truncation call. If there isn't an upstream workaround, let's go ahead and disable wavpack on PS2 by default.
We don't use that part of the library: Can we conditionally add something, even some stub, to the library for PS? builds?
See https://github.com/libsdl-org/WavPack/pull/2 and https://github.com/libsdl-org/SDL_mixer/pull/586
The wavpack patch should be applied first, so ci can run on the SDL_mixer patch.
Building SDL_mixer's playmus for ps2 and psp (on ci), linking fails with:
This probably means wavpack is missing a link to the math library. Or the toolchain does not provide this symbol.