freebsd-ports/games/valyriatear/files/patch-src_engine_audio_audio__input.cpp
Piotr Kubaj c3ae99e390 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
2019-12-02 17:57:54 +00:00

10 lines
226 B
C++

--- src/engine/audio/audio_input.cpp.orig 2019-12-02 08:48:39 UTC
+++ src/engine/audio/audio_input.cpp
@@ -27,6 +27,7 @@
#include "utils/utils_common.h"
#include <cstring>
+#include <SDL_endian.h>
namespace vt_audio
{