summaryrefslogtreecommitdiff
path: root/user/dosbox/constness.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-20 21:33:29 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-20 21:33:29 +0000
commit020960851365b93df7edcbee305d6e5488c74505 (patch)
tree4c9f1552ef7807730bb2a758842f72b5f883bee1 /user/dosbox/constness.patch
parent2da8d116b21f81ec56fb546aa3ac36ee7d6bbbeb (diff)
downloadpackages-020960851365b93df7edcbee305d6e5488c74505.tar.gz
packages-020960851365b93df7edcbee305d6e5488c74505.tar.bz2
packages-020960851365b93df7edcbee305d6e5488c74505.tar.xz
packages-020960851365b93df7edcbee305d6e5488c74505.zip
user/dosbox: fix constness in FluidSynth module
Diffstat (limited to 'user/dosbox/constness.patch')
-rw-r--r--user/dosbox/constness.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/dosbox/constness.patch b/user/dosbox/constness.patch
new file mode 100644
index 000000000..e7fcea8bb
--- /dev/null
+++ b/user/dosbox/constness.patch
@@ -0,0 +1,11 @@
+--- dosbox-x-dosbox-x-wip-20180513-1316/src/gui/midi_synth.h.old 2018-05-13 19:52:17.000000000 +0000
++++ dosbox-x-dosbox-x-wip-20180513-1316/src/gui/midi_synth.h 2019-03-20 21:27:44.400000000 +0000
+@@ -28,7 +28,7 @@
+ static fluid_synth_t *synth_soft = NULL;
+ static int synthsamplerate = 0;
+
+-static void synth_log(int level, char *message, void *data) {
++static void synth_log(int level, const char *message, void *data) {
+ switch (level) {
+ case FLUID_PANIC:
+ case FLUID_ERR: