aboutsummaryrefslogtreecommitdiffstats
path: root/community/deadbeef/use-endian-h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/deadbeef/use-endian-h.patch')
-rw-r--r--community/deadbeef/use-endian-h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/deadbeef/use-endian-h.patch b/community/deadbeef/use-endian-h.patch
new file mode 100644
index 0000000000..1fd35b7eb1
--- /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)
+-#ifdef __GLIBC__
++#ifdef __linux__
+ // GCC handles this for us
+ #include <endian.h>
+ #if __BYTE_ORDER == __LITTLE_ENDIAN