aboutsummaryrefslogtreecommitdiffstats
path: root/community/deadbeef/ppc64le.patch
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2018-12-03 10:26:31 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-17 08:17:58 +0000
commit4012551bbe15f0d1be8e9432e0f3955f715cf5ea (patch)
tree44f60ec996d4ee290a41205469535eb82f9eb1a0 /community/deadbeef/ppc64le.patch
parentaf971ca01cc7354cfaa2f8f0afece0b5faf204bc (diff)
downloadaports-4012551bbe15f0d1be8e9432e0f3955f715cf5ea.tar.bz2
aports-4012551bbe15f0d1be8e9432e0f3955f715cf5ea.tar.xz
community/deadbeef: fix byte order detection
Unlock the generic <endian.h> fallback to detect CPU byte order and delete ppc64le.patch since little-endian POWER is now covered too.
Diffstat (limited to 'community/deadbeef/ppc64le.patch')
-rw-r--r--community/deadbeef/ppc64le.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/community/deadbeef/ppc64le.patch b/community/deadbeef/ppc64le.patch
deleted file mode 100644
index d8106c77a7..0000000000
--- a/community/deadbeef/ppc64le.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Author: Breno Leitao <breno.leitao@gmail.com>
-Date: Fri Apr 7 22:00:01 2017 +0000
-
- blargg_endian: Fails to build on non-x86 with musl
-
- Currently blargg_endian fails to detect endiness on non-x86, as ppc64le,
- when not using glibc.
-
- In my case, I am using musl on ppc64le, and deadbeef fails to compile
- because the endianess is not known.
-
- This patch defines BLARGG_LITTLE_ENDIAN if the system is ppc64le.
-
---- a/plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h
-+++ b/plugins/gme/game-music-emu-0.6pre/gme/blargg_endian.h
-@@ -16,6 +16,9 @@
- defined (__POWERPC__) || defined (__powerc)
- #define BLARGG_CPU_POWERPC 1
- #define BLARGG_CPU_RISC 1
-+ #if defined(__LITTLE_ENDIAN__)
-+ #define BLARGG_LITTLE_ENDIAN 1
-+ #endif
- #endif
-
- // BLARGG_BIG_ENDIAN, BLARGG_LITTLE_ENDIAN: Determined automatically, otherwise only