diff options
Diffstat (limited to 'libre/gstreamer0.10-bad/wildmidi-0.4.patch')
-rw-r--r-- | libre/gstreamer0.10-bad/wildmidi-0.4.patch | 16 |
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); + |