summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Cort <tcort@gentoo.org>2006-04-02 17:56:54 +0000
committerThomas Cort <tcort@gentoo.org>2006-04-02 17:56:54 +0000
commitcd434b5255c73985c0b20d3579645982a542bd0b (patch)
treefbd5705497f5dfaad3242d90b06797fb36c42d42 /media-sound/soundtracker/files
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-cd434b5255c73985c0b20d3579645982a542bd0b.tar.gz
gentoo-2-cd434b5255c73985c0b20d3579645982a542bd0b.tar.bz2
gentoo-2-cd434b5255c73985c0b20d3579645982a542bd0b.zip
Added a patch to fix an invalid free thanks to Mark Aikens <marka@desert.cx>. Fixes Bug #91618.
(Portage version: 2.0.54)
Diffstat (limited to 'media-sound/soundtracker/files')
-rw-r--r--media-sound/soundtracker/files/digest-soundtracker-0.6.7-r11
-rw-r--r--media-sound/soundtracker/files/soundtracker-0.6.7-invalid-free.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/soundtracker/files/digest-soundtracker-0.6.7-r1 b/media-sound/soundtracker/files/digest-soundtracker-0.6.7-r1
new file mode 100644
index 000000000000..f315c0a2912d
--- /dev/null
+++ b/media-sound/soundtracker/files/digest-soundtracker-0.6.7-r1
@@ -0,0 +1 @@
+MD5 9a5685e0a79fb10066d29baed652d324 soundtracker-0.6.7.tar.gz 875235
diff --git a/media-sound/soundtracker/files/soundtracker-0.6.7-invalid-free.patch b/media-sound/soundtracker/files/soundtracker-0.6.7-invalid-free.patch
new file mode 100644
index 000000000000..3b120203c43b
--- /dev/null
+++ b/media-sound/soundtracker/files/soundtracker-0.6.7-invalid-free.patch
@@ -0,0 +1,11 @@
+diff -ruN -X /home/marka/diff-ignore.txt soundtracker-0.6.7.orig/app/midi-09x.c soundtracker-0.6.7/app/midi-09x.c
+--- soundtracker-0.6.7.orig/app/midi-09x.c 2003-05-17 07:33:13.000000000 -0400
++++ soundtracker-0.6.7/app/midi-09x.c 2005-09-04 10:49:38.000000000 -0400
+@@ -307,7 +307,6 @@
+
+ rc = snd_seq_subscribe_port( midi_handle, port_sub);
+ if (rc < 0) {
+- snd_seq_port_subscribe_free(port_sub);
+ close_handle( midi_handle);
+ midi_handle = NULL;
+ g_warning( "error subscribing sequencer port (%s)\n", snd_strerror(rc));