[SCM] specimen/master: build fixing patch added

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Fri Feb 18 22:11:42 UTC 2011


The following commit has been merged in the master branch:
commit 2d892f6255d1179a94c201be87b628791db7a94a
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Fri Feb 18 23:10:21 2011 +0100

    build fixing patch added

diff --git a/debian/patches/01-jackdriver.c.patch b/debian/patches/01-jackdriver.c.patch
new file mode 100644
index 0000000..ae848ca
--- /dev/null
+++ b/debian/patches/01-jackdriver.c.patch
@@ -0,0 +1,32 @@
+Description: Patch fixing build problem.
+Patch was done with help of jackdriver.c file from specimen svn
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+Index: specimen/src/jackdriver.c
+===================================================================
+--- specimen.orig/src/jackdriver.c	2011-02-18 22:16:47.292553394 +0100
++++ specimen/src/jackdriver.c	2011-02-18 22:17:57.817053152 +0100
+@@ -81,7 +81,11 @@
+      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);
++#elif defined HAVE_OLD_JACK_MIDI
+      jack_nframes_t event_count = jack_midi_get_event_count(midi_buf, frames);
++#elif defined HAVE_OLDEST_JACK_MIDI
++     jack_nframes_t event_count = jack_midi_port_get_info(midi_buf, frames)->event_count;
+ #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 +127,11 @@
+      /* send the JACK MIDI events to the mixer */
+      while (event_index < event_count) {
+        
++#ifdef HAVE_JACK_MIDI
++         jack_midi_event_get(&jack_midi_event, midi_buf,event_index);
++#else
+          jack_midi_event_get(&jack_midi_event, midi_buf,event_index, frames);
++#endif /* HAVE_JACK_MIDI */
+ 	  midi_data = jack_midi_event.buffer;
+ 	  
+ 	  /* TODO: handle 14-bit controllers and RPNs and NRPNs */
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f0cfefe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-jackdriver.c.patch

-- 
specimen packaging



More information about the pkg-multimedia-commits mailing list