void-packages/srcpkgs/ZMusic/patches/ppc-musl.patch

14 lines
441 B
Diff

Taken from libgme package.
--- a/thirdparty/game-music-emu/gme/blargg_endian.h
+++ b/thirdparty/game-music-emu/gme/blargg_endian.h
@@ -36,7 +36,7 @@
#endif
#if defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
- defined (__sparc__) || BLARGG_CPU_POWERPC || \
+ defined (__sparc__) || \
(defined (BIG_ENDIAN) && BIG_ENDIAN+0 != 4321)
#define BLARGG_BIG_ENDIAN 1
#elif !defined (__mips__)