From 1ad5d6e90f55e73c11eb63daa99e98dfa4f07e93 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 15 Feb 2021 02:22:44 +0000 Subject: [PATCH] audio/deadbeef: fix build on powerpc64le Same issue as in audio/libgme. --- ...s_gme_game-music-emu-0.6pre_gme_blargg__endian.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 audio/deadbeef/files/patch-plugins_gme_game-music-emu-0.6pre_gme_blargg__endian.h diff --git a/audio/deadbeef/files/patch-plugins_gme_game-music-emu-0.6pre_gme_blargg__endian.h b/audio/deadbeef/files/patch-plugins_gme_game-music-emu-0.6pre_gme_blargg__endian.h new file mode 100644 index 000000000000..8c5c16a12964 --- /dev/null +++ b/audio/deadbeef/files/patch-plugins_gme_game-music-emu-0.6pre_gme_blargg__endian.h @@ -0,0 +1,13 @@ +--- plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h.orig 2021-02-10 16:11:06 UTC ++++ plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h +@@ -33,9 +33,7 @@ + #if defined (LSB_FIRST) || defined (__LITTLE_ENDIAN__) || BLARGG_CPU_X86 || \ + (defined (LITTLE_ENDIAN) && LITTLE_ENDIAN+0 != 1234) + #define BLARGG_LITTLE_ENDIAN 1 +-#endif +- +-#if defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \ ++#elif defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \ + defined (__sparc__) || BLARGG_CPU_POWERPC || \ + (defined (BIG_ENDIAN) && BIG_ENDIAN+0 != 4321) + #define BLARGG_BIG_ENDIAN 1