[specimen] Debian patches

james morris james at jwm-art.net
Sat Dec 19 04:43:32 CST 2009


On 19/12/2009, "Erik de Castro Lopo" <mle+la at mega-nerd.com> wrote:

>Hi,
>
>Is specimen still being maintained?

I'd forgotten I was on this list. Not heard anything for a long time...

James.


>Below are two patches that are currently being applied to the Debian
>version.
>
>Cheers,
>Erik
>
>## 00_fix_memleak.diff
>##
>## DP: Fix a memory leak.
>
>--- specimen-0.5.2rc3.orig/src/gui/bank-ops.c
>+++ specimen-0.5.2rc3/src/gui/bank-ops.c
>@@ -140,5 +140,7 @@
> int bank_ops_new ( )
> {
>      patch_destroy_all ( );
>+     free(last_bank);
>+     last_bank=NULL;
>      return 0;
> }
>
>
>## 00_fix_jackdriver.diff
>##
>## DP: Fix FTBFS due to API changes in JACK.
>
>--- specimen-0.5.2rc3.orig/src/jackdriver.c
>+++ specimen-0.5.2rc3/src/jackdriver.c
>@@ -81,7 +81,7 @@
>      jack_midi_event_t jack_midi_event;
>      jack_nframes_t event_index = 0;
> #ifdef HAVE_JACK_MIDI
>-     jack_nframes_t event_count = jack_midi_get_event_count(midi_buf, frames);
>+     jack_nframes_t event_count = jack_midi_get_event_count(midi_buf);
> #endif /* HAVE_JACK_MIDI */
> #ifdef HAVE_OLD_JACK_MIDI
>      jack_nframes_t event_count = jack_midi_port_get_info(midi_buf, frames)->event_count;
>@@ -123,7 +123,7 @@
>      /* send the JACK MIDI events to the mixer */
>      while (event_index < event_count) {
>
>-         jack_midi_event_get(&jack_midi_event, midi_buf,event_index, frames);
>+         jack_midi_event_get(&jack_midi_event, midi_buf,event_index);
> 	  midi_data = jack_midi_event.buffer;
>
> 	  /* TODO: handle 14-bit controllers and RPNs and NRPNs */
>
>--
>----------------------------------------------------------------------
>Erik de Castro Lopo
>http://www.mega-nerd.com/
>_______________________________________________
>Specimen mailing list
>Specimen at zhevny.com
>http://zhevny.com/mailman/listinfo/specimen
>


More information about the Specimen mailing list