From 07419963cfbd90b3b3e11bc2e1438e1708eceffb Mon Sep 17 00:00:00 2001 From: prspkt Date: Mon, 29 Apr 2019 08:36:45 +0300 Subject: community/deadbeef: restore fix for byte order detection --- community/deadbeef/use-endian-h.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/deadbeef/use-endian-h.patch (limited to 'community/deadbeef/use-endian-h.patch') diff --git a/community/deadbeef/use-endian-h.patch b/community/deadbeef/use-endian-h.patch new file mode 100644 index 0000000000..a8829dcb84 --- /dev/null +++ b/community/deadbeef/use-endian-h.patch @@ -0,0 +1,11 @@ +--- a/plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h ++++ b/plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h +@@ -21,7 +21,7 @@ + // BLARGG_BIG_ENDIAN, BLARGG_LITTLE_ENDIAN: Determined automatically, otherwise only + // one may be #defined to 1. Only needed if something actually depends on byte order. + #if !defined (BLARGG_BIG_ENDIAN) && !defined (BLARGG_LITTLE_ENDIAN) +-#if defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && defined(__BIG_ENDIAN) ++#ifdef __linux__ + // GCC handles this for us + #include + #if __BYTE_ORDER == __LITTLE_ENDIAN -- cgit v1.2.3