summarylogtreecommitdiffstats
path: root/wildmidi-0.4.patch
diff options
context:
space:
mode:
authorGordonGR2016-08-20 17:33:53 +0300
committerGordonGR2016-08-20 17:33:53 +0300
commit983834fecfb08cab9c1f435293f358de5db4e1c9 (patch)
tree15a2ba4acc0abcf7c11c0ff7ee6e0ba0477719f4 /wildmidi-0.4.patch
parent9bc02248d19816f57eb923e44d85249377804199 (diff)
downloadaur-983834fecfb08cab9c1f435293f358de5db4e1c9.tar.gz
0.10.23-14: Added the wildmidi-0.4.patch patch according to [extra]
Diffstat (limited to 'wildmidi-0.4.patch')
-rw-r--r--wildmidi-0.4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/wildmidi-0.4.patch b/wildmidi-0.4.patch
new file mode 100644
index 00000000000..ac7deb04ab1
--- /dev/null
+++ b/wildmidi-0.4.patch
@@ -0,0 +1,16 @@
+Old versions used char* for the data, new versions use int8_t*. They're often
+not the same and differ in signedness.
+
+(backported from 04199db2aeea966c2c879b1764427c87433570f1)
+
+--- a/ext/timidity/gstwildmidi.c
++++ b/ext/timidity/gstwildmidi.c
+@@ -631,7 +631,7 @@
+ size = GST_BUFFER_SIZE (buffer);
+
+ GST_OBJECT_LOCK (wildmidi);
+- bytes_read = WildMidi_GetOutput (wildmidi->song, (char *) data,
++ bytes_read = WildMidi_GetOutput (wildmidi->song, (gpointer *) data,
+ (unsigned long int) size);
+ GST_OBJECT_UNLOCK (wildmidi);
+