mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 04:00:41 -04:00
gme needs the same patching as for other ports. p_spec.cpp uses chars, which are unsigned on ARM and POWER by default. Approved by: tier 2 blanket MFH: 2021Q1
13 lines
620 B
C
13 lines
620 B
C
--- game-music-emu/gme/blargg_endian.h.orig 2021-02-10 16:11:06 UTC
|
|
+++ game-music-emu/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
|