Created attachment 209598 [details] patch Upstream PR: https://github.com/ValyriaTear/ValyriaTear/pull/652 SDL_Swap32() and SDL_Swap16() are defined in SDL_endian.h.
LGTM
A commit references this bug: Author: pkubaj Date: Mon Dec 2 17:57:55 UTC 2019 New revision: 518858 URL: https://svnweb.freebsd.org/changeset/ports/518858 Log: games/valyriatear: fix build on big-endian architectures SDL_Swap32() and SDL_Swap16() are defined in SDL_endian.h. PR: 242360 Approved by: amdmi3 (maintainer), mentors (implicit approval) Pull Request: https://github.com/ValyriaTear/ValyriaTear/pull/652 Changes: head/games/valyriatear/files/patch-src_engine_audio_audio__input.cpp