gzdoom: fix build on ppc*-musl
This commit is contained in:
parent
de4c5f31a9
commit
6d5e566a63
13
srcpkgs/gzdoom/patches/ppc-musl.patch
Normal file
13
srcpkgs/gzdoom/patches/ppc-musl.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Taken from libgme package.
|
||||
|
||||
--- libraries/game-music-emu/gme/blargg_endian.h
|
||||
+++ libraries/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__)
|
Loading…
Reference in New Issue
Block a user