summaryrefslogtreecommitdiff
path: root/libre/gstreamer0.10-bad/wildmidi-0.4.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-20 10:12:24 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-20 10:12:24 -0300
commite0d7418baa31351b878203182c701fafa5b49686 (patch)
treebc942f17859c4f84473b1d6c172470e6c67b8206 /libre/gstreamer0.10-bad/wildmidi-0.4.patch
parentedcada872e4dd2b6211e00e2a88903d2932b99bb (diff)
gstreamer0.10-bad-0.10.23-18.parabola1: bump to Arch's revision
Diffstat (limited to 'libre/gstreamer0.10-bad/wildmidi-0.4.patch')
-rw-r--r--libre/gstreamer0.10-bad/wildmidi-0.4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/gstreamer0.10-bad/wildmidi-0.4.patch b/libre/gstreamer0.10-bad/wildmidi-0.4.patch
new file mode 100644
index 000000000..ac7deb04a
--- /dev/null
+++ b/libre/gstreamer0.10-bad/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);
+