diff options
author | prspkt <prspkt@protonmail.com> | 2019-04-29 08:36:45 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-04-29 08:39:44 +0300 |
commit | 07419963cfbd90b3b3e11bc2e1438e1708eceffb (patch) | |
tree | f7ca7d5bd6a6617b3f5d917aab8d7dd0761b2f54 | |
parent | dc527c3bcd601d07f0134bbc725cec290e40abb4 (diff) | |
download | aports-07419963cfbd90b3b3e11bc2e1438e1708eceffb.tar.bz2 aports-07419963cfbd90b3b3e11bc2e1438e1708eceffb.tar.xz |
community/deadbeef: restore fix for byte order detection
-rw-r--r-- | community/deadbeef/APKBUILD | 8 | ||||
-rw-r--r-- | community/deadbeef/use-endian-h.patch | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/community/deadbeef/APKBUILD b/community/deadbeef/APKBUILD index 54762278c4..a1eee6cb12 100644 --- a/community/deadbeef/APKBUILD +++ b/community/deadbeef/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: pkgname=deadbeef pkgver=1.8.0 -pkgrel=0 +pkgrel=1 pkgdesc="fairly capable playlist-oriented audio player" url="http://deadbeef.sourceforge.net/" arch="all" @@ -15,7 +15,8 @@ depends_dev="gtk+3.0-dev libmad-dev alsa-lib-dev ffmpeg-dev libsamplerate-dev makedepends="$depends_dev intltool gettext bsd-compat-headers" subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 - strdupa.patch" + strdupa.patch + use-endian-h.patch" options="!check" build() { @@ -34,4 +35,5 @@ package() { } sha512sums="c39fc34bcd70ac745ce9c5ac6f4f4535d07d47906dd297bc598e850178e46ab8e933cd11e04e71b9432462c7a1e36f4a8ead3a50f0bb15a696c3961c336611ad deadbeef-1.8.0.tar.bz2 -902c65cc5fd39f9935080a7f5df6d7c17fb366706501957a6b54d796f1b7b64a03fed64f93c9149d9332c4638de35254d526c031af0cd12674efb8d25dff31e1 strdupa.patch" +902c65cc5fd39f9935080a7f5df6d7c17fb366706501957a6b54d796f1b7b64a03fed64f93c9149d9332c4638de35254d526c031af0cd12674efb8d25dff31e1 strdupa.patch +9d933a33c6d78d66d4b6cb448aaeaf60b79e6269ce1c48e314b135f79779cdeb4e541b4c10c8666010b488e10108d0154a84835115933a8c6677f066044a1197 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 <endian.h> + #if __BYTE_ORDER == __LITTLE_ENDIAN |