Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multimedia/musikcube: fix build on powerpc64le
Same issue as audio/deadbeef.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
multimedia/musikcube/files/patch-src_plugins_gmedecoder_gme_blargg__endian.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- src/plugins/gmedecoder/gme/blargg_endian.h.orig 2021-04-05 20:58:30 UTC | ||
+++ src/plugins/gmedecoder/gme/blargg_endian.h | ||
@@ -34,9 +34,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 |