commit b213dac379c455b8f8e7e9eccc806d249edd184a parent 2db1fba4e74f498e5b9c52a3993399322b7998c6 Author: Steven Barth <steven@midlink.org> Date: Tue, 15 Sep 2015 08:29:14 +0200 Merge pull request #1673 from plntyk/fix_octeon_shine shine: fix mips64 (octeon) build error Diffstat:
| A | sound/shine/patches/001-fix_mips64_bswap.patch | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/sound/shine/patches/001-fix_mips64_bswap.patch b/sound/shine/patches/001-fix_mips64_bswap.patch @@ -0,0 +1,11 @@ +--- a/src/bin/wave.c ++++ b/src/bin/wave.c +@@ -168,7 +168,7 @@ unsigned char wave_open(const char *fnam + } + + #ifdef SHINE_BIG_ENDIAN +-#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) ++#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)) + #define bswap_16(x) __builtin_bswap16(x) + #else + #define bswap_16(x) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))