diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-08-03 12:37:02 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-08-03 12:37:02 +0200 |
commit | 7b58243be2f8c8d173eb46ebd545d7b6289514b7 (patch) | |
tree | 7d6efb5f48b5d3d8e8d2c5a2b19330d2513dd7bd /community | |
parent | c12b63279c5931b24aa15403595f63d629778ca8 (diff) | |
download | aports-7b58243be2f8c8d173eb46ebd545d7b6289514b7.tar.bz2 aports-7b58243be2f8c8d173eb46ebd545d7b6289514b7.tar.xz |
community/deadbeef: char is unsigned by default on arm
Diffstat (limited to 'community')
-rw-r--r-- | community/deadbeef/APKBUILD | 12 | ||||
-rw-r--r-- | community/deadbeef/arm-buildfix.patch | 13 |
2 files changed, 21 insertions, 4 deletions
diff --git a/community/deadbeef/APKBUILD b/community/deadbeef/APKBUILD index 9408ef0808..873beaa629 100644 --- a/community/deadbeef/APKBUILD +++ b/community/deadbeef/APKBUILD @@ -15,7 +15,8 @@ depends_dev="gtk+-dev libmad-dev alsa-lib-dev ffmpeg-dev libsamplerate-dev makedepends="$depends_dev intltool gettext" install="" subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2 + arm-buildfix.patch" builddir="${srcdir}/${pkgname}-$_ver" @@ -33,6 +34,9 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="f8f5353e7c201fce316f8b082ab408bb deadbeef-0.7.2.tar.bz2" -sha256sums="8a63abdf00c2f37c33e018ae0b39d391873e037434074b84bb47381bf283c884 deadbeef-0.7.2.tar.bz2" -sha512sums="9ea61a3820d9d57f038b80652ce63bd87e6781259c0f58a93b70607b02e71debbf5598f4a06d607d3840a804c3b7fc5039a4c4b0a8bb01e8e5107bba3f0bd980 deadbeef-0.7.2.tar.bz2" +md5sums="f8f5353e7c201fce316f8b082ab408bb deadbeef-0.7.2.tar.bz2 +484a16797028fa9d68b57eb233cce660 arm-buildfix.patch" +sha256sums="8a63abdf00c2f37c33e018ae0b39d391873e037434074b84bb47381bf283c884 deadbeef-0.7.2.tar.bz2 +49d85315cf11e3500f50ff81bd075a6a4511763fb596047b01a5f755a1a0c28c arm-buildfix.patch" +sha512sums="9ea61a3820d9d57f038b80652ce63bd87e6781259c0f58a93b70607b02e71debbf5598f4a06d607d3840a804c3b7fc5039a4c4b0a8bb01e8e5107bba3f0bd980 deadbeef-0.7.2.tar.bz2 +c0cb8e8fd3c12f23b94acb94ef7bc09b5db944ec179da67281079afc4e87a3bd78e4fa40042d0ecffb97bf7e02f0f34a44d0c32f746dbf870c0bf105e51b2ed0 arm-buildfix.patch" diff --git a/community/deadbeef/arm-buildfix.patch b/community/deadbeef/arm-buildfix.patch new file mode 100644 index 0000000000..a0dfba601d --- /dev/null +++ b/community/deadbeef/arm-buildfix.patch @@ -0,0 +1,13 @@ +diff --git a/plugins/adplug/adplug/s3m.cpp b/plugins/adplug/adplug/s3m.cpp +index 173a756..2158bae 100644 +--- a/plugins/adplug/adplug/s3m.cpp ++++ b/plugins/adplug/adplug/s3m.cpp +@@ -26,7 +26,7 @@ + #include <string.h> + #include "s3m.h" + +-const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion ++const signed char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion + {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1}; + + const unsigned short Cs3mPlayer::notetable[12] = // S3M adlib note table |