aboutsummaryrefslogtreecommitdiffstats
path: root/community/deadbeef/arm-buildfix.patch
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2016-08-03 12:37:02 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2016-08-03 12:37:02 +0200
commit7b58243be2f8c8d173eb46ebd545d7b6289514b7 (patch)
tree7d6efb5f48b5d3d8e8d2c5a2b19330d2513dd7bd /community/deadbeef/arm-buildfix.patch
parentc12b63279c5931b24aa15403595f63d629778ca8 (diff)
downloadaports-7b58243be2f8c8d173eb46ebd545d7b6289514b7.tar.bz2
aports-7b58243be2f8c8d173eb46ebd545d7b6289514b7.tar.xz
community/deadbeef: char is unsigned by default on arm
Diffstat (limited to 'community/deadbeef/arm-buildfix.patch')
-rw-r--r--community/deadbeef/arm-buildfix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/deadbeef/arm-buildfix.patch b/community/deadbeef/arm-buildfix.patch
new file mode 100644
index 000000000..a0dfba601
--- /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