summaryrefslogtreecommitdiff
path: root/user
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
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')
-rw-r--r--user/dosbox/APKBUILD6
-rw-r--r--user/dosbox/constness.patch11
2 files changed, 15 insertions, 2 deletions
diff --git a/user/dosbox/APKBUILD b/user/dosbox/APKBUILD
index 58278e28b..0b9418d50 100644
--- a/user/dosbox/APKBUILD
+++ b/user/dosbox/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=dosbox
pkgver=0.82.7
-pkgrel=0
+pkgrel=1
pkgdesc="Emulator for MS-DOS games"
url="https://github.com/joncampbell123/dosbox-x/"
arch="all !s390x"
@@ -14,6 +14,7 @@ source="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-wip-20180513
porttalk-fix.patch
asmfix.patch
posix-headers.patch
+ constness.patch
"
builddir="$srcdir/dosbox-x-dosbox-x-wip-20180513-1316"
@@ -38,4 +39,5 @@ package() {
sha512sums="38b7423b695f3b0dfd26f8c8913f26afba73ea6235bb205ec3a5d7f08ef3c74a9b6ce2577f0ea8eb49724b548e3386332256d13f27469b165986702650638992 dosbox-x-wip-20180513-1316.tar.gz
daf0efea03d6295f5a20d8d197f7d0ba38e0608edcfe8be19fc6091b783885d523557674f0f7df83b88186b77794723106cf7a0e02125d2cc75ecfd7d51fa91d porttalk-fix.patch
266ede57d21030f7752287f18660b47e9185a9aef9d022337dded9c9ce93e572691b41aca878f8a28c67bf5d217c7e84912336c21aacf594085dc31d99862ebf asmfix.patch
-462e84d5bac8fb2c1317b303d1bdda72a50e9eedfb5251450cb8d0f98f4297d6a483eb2c95624cbc8d25e917788032dd1e7d8b0d06d82dad6600f8bd6eec85f4 posix-headers.patch"
+462e84d5bac8fb2c1317b303d1bdda72a50e9eedfb5251450cb8d0f98f4297d6a483eb2c95624cbc8d25e917788032dd1e7d8b0d06d82dad6600f8bd6eec85f4 posix-headers.patch
+775d8f209ea04a81fda5c3dcf8186b529248befb962019c66e60344a5e07c95462f9cc4acf0f82c44635fc86f1b4817030792a1900d36e6d911b6f782722f320 constness.patch"
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: